Property | Type | Description | |
---|---|---|---|
Black | Color | ||
Blue | Color | ||
Blue1 | Color | ||
Green | Color | ||
Green1 | Color | ||
Grey1 | Color | ||
Grey2 | Color | ||
Red | Color | ||
Red1 | Color | ||
White | Color | ||
Yellow | Color |
Method | Description | |
---|---|---|
ByteToUShort ( byte val ) : ushort | ||
Color ( byte r, byte g, byte b, byte a = byte.MaxValue ) : System | ||
ColorFromUShort ( ushort r, ushort g, ushort b, ushort a = ushort.MaxValue ) : Color | ||
Copy ( ) : Color | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
Parse ( string colorHex ) : Color | ||
ToRGBString ( bool with_alpha ) : string | ||
ToString ( ) : string | ||
UShortToByte ( ushort val ) : byte |
public static ByteToUShort ( byte val ) : ushort | ||
val | byte | |
return | ushort |
public Color ( byte r, byte g, byte b, byte a = byte.MaxValue ) : System | ||
r | byte | |
g | byte | |
b | byte | |
a | byte | |
return | System |
public static ColorFromUShort ( ushort r, ushort g, ushort b, ushort a = ushort.MaxValue ) : Color | ||
r | ushort | |
g | ushort | |
b | ushort | |
a | ushort | |
return | Color |
public static Parse ( string colorHex ) : Color | ||
colorHex | string | |
return | Color |
public ToRGBString ( bool with_alpha ) : string | ||
with_alpha | bool | |
return | string |
public static UShortToByte ( ushort val ) : byte | ||
val | ushort | |
return | byte |