Struct Color
- Namespace
- Alis.Core.Aspect.Math.Definition
- Assembly
- Alis.dll
The color
[Serializable]
public struct Color : ISerializable
Implements
Inherited Members
Constructors
Color(byte, byte, byte, byte)
Initializes a new instance of the Alis.Core.Aspect.Math.Definition.Color class
public Color(byte r, byte g, byte b, byte a)
Parameters
Color(int, int, int, int)
Initializes a new instance of the Alis.Core.Aspect.Math.Definition.Color class
public Color(int r, int g, int b, int a)
Parameters
Properties
A
The
public byte A { readonly get; set; }
Property Value
B
The
public byte B { readonly get; set; }
Property Value
Black
Gets the value of the black
public static Color Black { get; }
Property Value
Brown
Gets or sets the value of the brown
public static Color Brown { get; }
Property Value
DarkGreen
Gets or sets the value of the dark green
public static Color DarkGreen { get; }
Property Value
G
The
public byte G { readonly get; set; }
Property Value
Green
Gets the value of the green
public static Color Green { get; }
Property Value
R
The
public byte R { readonly get; set; }
Property Value
Red
Gets the value of the red
public static Color Red { get; }
Property Value
Methods
GetObjectData(SerializationInfo, StreamingContext)
Gets the object data using the specified info
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfo-
The info
context
StreamingContext-
The context