Show / Hide Table of Contents

Class VgaAttributeByteColorParser

Implementa un IColorParser<T> que tiene como formato de color un byte de atributo VGA con información de color e intensidad, ignorando el color de fondo y el bit de Blink.

Inheritance
object
VgaAttributeByteColorParser
Implements
IColorParser<byte>
IColorParser
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types
Assembly: MCART.Coloring.dll
Syntax
public class VgaAttributeByteColorParser : IColorParser<byte>, IColorParser

Methods

| Edit this page View Source

From(byte)

Convierte una estructura compatible en un Color.

Declaration
public Color From(byte value)
Parameters
Type Name Description
byte value

Valor a convertir.

Returns
Type Description
Color

Un Color creado a partir del valor especificado.

| Edit this page View Source

To(Color)

Convierte un Color en su representación como un byte de atributo VGA.

Declaration
public byte To(Color color)
Parameters
Type Name Description
Color color
Returns
Type Description
byte

Un byte con la representación binaria de este Color, en formato BGRI de 4 bits. El byte de atributo no incluirá color de fondo ni bit de Blink.

Implements

IColorParser<T>
IColorParser

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX