Свойство | Тип | Описание | |
---|---|---|---|
BLACK | Color | ||
BLUE | Color | ||
CYAN | Color | ||
DARK_GRAY | Color | ||
GRAY | Color | ||
GREEN | Color | ||
LIGHT_GRAY | Color | ||
MAGENTA | Color | ||
ORANGE | Color | ||
PINK | Color | ||
RED | Color | ||
WHITE | Color | ||
YELLOW | Color |
Метод | Описание | |
---|---|---|
Brighter ( ) : Color | ||
Color ( System color ) : System |
Constructor for Color object
|
|
Color ( float red, float green, float blue ) : System |
Constructor for Color object
|
|
Color ( float red, float green, float blue, float alpha ) : System |
Constructor for Color object
|
|
Color ( int argb ) : System | ||
Color ( int red, int green, int blue ) : System |
Constuctor for Color object.
|
|
Color ( int red, int green, int blue, int alpha ) : System |
Constuctor for Color object.
|
|
Darker ( ) : Color | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
ToArgb ( ) : int |
public Color ( System color ) : System | ||
color | System | a Color object |
Результат | System |
public Color ( float red, float green, float blue ) : System | ||
red | float | The red component value for the new Color structure. Valid values are 0 through 1. |
green | float | The green component value for the new Color structure. Valid values are 0 through 1. |
blue | float | The blue component value for the new Color structure. Valid values are 0 through 1. |
Результат | System |
public Color ( float red, float green, float blue, float alpha ) : System | ||
red | float | The red component value for the new Color structure. Valid values are 0 through 1. |
green | float | The green component value for the new Color structure. Valid values are 0 through 1. |
blue | float | The blue component value for the new Color structure. Valid values are 0 through 1. |
alpha | float | The transparency component value for the new Color structure. Valid values are 0 through 1. |
Результат | System |
public Color ( int red, int green, int blue ) : System | ||
red | int | The red component value for the new Color structure. Valid values are 0 through 255. |
green | int | The green component value for the new Color structure. Valid values are 0 through 255. |
blue | int | The blue component value for the new Color structure. Valid values are 0 through 255. |
Результат | System |
public Color ( int red, int green, int blue, int alpha ) : System | ||
red | int | The red component value for the new Color structure. Valid values are 0 through 255. |
green | int | The green component value for the new Color structure. Valid values are 0 through 255. |
blue | int | The blue component value for the new Color structure. Valid values are 0 through 255. |
alpha | int | The transparency component value for the new Color structure. Valid values are 0 through 255. |
Результат | System |