프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ColorMappings | Color>.Dictionary |
메소드 | 설명 | |
---|---|---|
BlueOnly ( this color ) : Color |
Returns a new Color using only the Blue value of this color.
|
|
FromParser ( this color, string value, bool &keepR, bool &keepG, bool &keepB, bool &keepA, bool &useDefault ) : Color |
Gets a color in the format of SadConsole.ParseCommandRecolor.
|
|
GetBrightness ( this color ) : float | ||
GetHue ( this color ) : float | ||
GetLuma ( this color ) : float | ||
GetRandomColor ( this color, |
||
GetSaturation ( this color ) : float | ||
GreenOnly ( this color ) : Color |
Returns a new Color using only the Green value of this color.
|
|
LerpSteps ( this color, Color endingColor, int steps ) : Color[] | ||
RedOnly ( this color ) : Color |
Returns a new Color using only the Red value of this color.
|
|
SetHSL ( this color, float h, float s, float l ) : void | ||
ToInteger ( this color ) : uint | ||
ToParser ( this color ) : string |
Converts a color to the format used by SadConsole.ParseCommandRecolor command.
|
메소드 | 설명 | |
---|---|---|
Hue_2_RGB ( float v1, float v2, float vH ) : float |
public static BlueOnly ( this color ) : Color | ||
color | this | Object instance. |
리턴 | Color |
public static FromParser ( this color, string value, bool &keepR, bool &keepG, bool &keepB, bool &keepA, bool &useDefault ) : Color | ||
color | this | |
value | string | |
keepR | bool | |
keepG | bool | |
keepB | bool | |
keepA | bool | |
useDefault | bool | |
리턴 | Color |
public static GetRandomColor ( this color, |
||
color | this | |
random | ||
리턴 | Color |
public static GreenOnly ( this color ) : Color | ||
color | this | Object instance. |
리턴 | Color |
public static LerpSteps ( this color, Color endingColor, int steps ) : Color[] | ||
color | this | |
endingColor | Color | |
steps | int | |
리턴 | Color[] |
public static RedOnly ( this color ) : Color | ||
color | this | Object instance. |
리턴 | Color |
public static SetHSL ( this color, float h, float s, float l ) : void | ||
color | this | |
h | float | |
s | float | |
l | float | |
리턴 | void |
public static ToParser ( this color ) : string | ||
color | this | The color to convert. |
리턴 | string |