Méthode | Description | |
---|---|---|
COLORREF ( Color color ) : System |
Initializes a new instance of the COLORREF struct.
|
|
COLORREF ( byte r, byte g, byte b ) : System |
Initializes a new instance of the COLORREF struct.
|
|
COLORREF ( uint value ) : System |
Initializes a new instance of the COLORREF struct.
|
|
Darken ( float percent ) : |
A method to darken a color by a percentage of the difference between the color and Black.
|
|
Equals ( c ) : bool |
Determines whether the specified object is equal to the current object.
|
|
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
Lighten ( float percent ) : |
A method to lighten a color by a percentage of the difference between the color and Black.
|
|
ToArgb ( ) : int |
Gets the 32-bit ARGB value of this COLORREF structure.
|
Méthode | Description | |
---|---|---|
Equals ( ) : System |
public COLORREF ( Color color ) : System | ||
color | Color | The color. |
Résultat | System |
public COLORREF ( byte r, byte g, byte b ) : System | ||
r | byte | The intensity of the red color. |
g | byte | The intensity of the green color. |
b | byte | The intensity of the blue color. |
Résultat | System |
public COLORREF ( uint value ) : System | ||
value | uint | The packed DWORD value. |
Résultat | System |
public Darken ( float percent ) : |
||
percent | float | The percentage by which to darken the original color. |
Résultat |
public Equals ( c ) : bool | ||
c | The object to compare with the current object. | |
Résultat | bool |
public Lighten ( float percent ) : |
||
percent | float | The percentage by which to lighten the original color. |
Résultat |