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