메소드 | 설명 | |
---|---|---|
Color ( ) : System |
Creates a Color object with all values initialized as 0.0.
|
|
Color ( float red, float green, float blue, float alpha = 255.0f ) : System |
Creates a Color object. If alpha is omitted, it is assumed at 255.
|
|
ToString ( ) : string |
Returns a
|
|
_arc_dump ( ) : byte[] |
Serializes and dumps the Color object in ARC format.
|
|
_arc_load ( byte bytes ) : Color |
Deserializes and loads a Color object saved in ARC format.
|
|
set ( float red, float green, float blue ) : void |
Sets all components at once. Alpha remains the same.
|
|
set ( float red, float green, float blue, float alpha ) : void |
Sets all components at once.
|
public Color ( float red, float green, float blue, float alpha = 255.0f ) : System | ||
red | float | The red value (0-255) |
green | float | The green value (0-255) |
blue | float | The blue value (0-255) |
alpha | float | The alpha value (0-255) |
리턴 | System |
public static _arc_load ( byte bytes ) : Color | ||
bytes | byte | A |
리턴 | Color |
public set ( float red, float green, float blue ) : void | ||
red | float | The red value (0-255) |
green | float | The green value (0-255) |
blue | float | The blue value (0-255) |
리턴 | void |
public set ( float red, float green, float blue, float alpha ) : void | ||
red | float | The red value (0-255) |
green | float | The green value (0-255) |
blue | float | The blue value (0-255) |
alpha | float | The alpha value (0-255) |
리턴 | void |