Méthode | Description | |
---|---|---|
ColorToHsb ( Color c ) : |
||
HsbToColor ( float h, float s, float b ) : Color |
Returns a Color structure specified by HSB values.
|
|
PaintFrame ( |
||
PaintLine ( |
Méthode | Description | |
---|---|---|
HsbIntermediateValuesToRgbComponent ( float m1, float m2, float h ) : int |
Returns an RGB component for the intermediate values of the HSB to RGB convertion algorithm.
|
public static ColorToHsb ( Color c ) : |
||
c | Color | |
Résultat |
public static HsbToColor ( float h, float s, float b ) : Color | ||
h | float | The hue of the color. |
s | float | The saturation of the color. |
b | float | The brightness of the color. |
Résultat | Color |
public static PaintFrame ( |
||
g | ||
x1 | int | |
y1 | int | |
w | int | |
h | int | |
Résultat | void |
public static PaintLine ( |
||
gfx | ||
r | int | |
g | int | |
b | int | |
x1 | int | |
y1 | int | |
x2 | int | |
y2 | int | |
Résultat | void |