Drawing > Drawing Assembly Classes > GxColor
Assembly: Drawing;
Namespace: Prognoz.Platform.Interop.Drawing;
The GxColor class implements the color.
Class to get analog of the GxColor class:
GxColorClassClass;
Class to get analog of the GxColor class object:
GxColorClass_2;
Constructor name | Brief description | |
![]() |
CreateARGB | The CreateARGB constructor creates a new color in accordance with the specified values of transparency degree and red, green and blue components. |
![]() |
CreateHSB | The CreateHSB constructor creates a new color in accordance with the specified values of color hue, saturation and brightness. |
![]() |
CreateRGB | The CreateRGB constructor creates a new color in accordance with the specified values of red, green and blue components. |
Method name | Brief description | |
![]() |
FromKnownColor | The FromKnownColor method returns the predetermined color. |
![]() |
FromName | The FromName method returns the color with the specified name. |
![]() |
FromSystemColor | The FromSystemColor method returns the system color. |
![]() |
FromThemeColor | The FromThemeColor method returns the color that is a predetermined one for the specified component by the current theme. |
![]() |
FromValue | The FromValue method returns the object that contains the color by the value. |
Property name | Brief description | |
![]() |
A | The A property returns the degree of the color transparency from 0 to 255. |
![]() |
ARGB | The ARGB property determines the color as a 32-bit value. |
![]() |
B | The B property returns the blue component of the color from 0 to 255. |
![]() |
Brightness | The Brightness property returns the brightness of the color from 0.0 to 1.0. |
![]() |
G | The G property returns the green component of the color from 0 to 255. |
![]() |
Hue | The Hue property returns the hue of the color in degrees from 0.0 to 360.0. |
![]() |
IsKnownColor | The IsKnownColor property returns True if the color is basic. |
![]() |
IsSystemColor | The IsSystemColor property returns True if the color is system. |
![]() |
IsThemeColor | The IsThemeColor property returns True if the current color is the color of the component specified by the theme. |
![]() |
Name | The Name property returns the name of the color. |
![]() |
OleValue | The OleValue property determines the color as a 32-bit value. |
![]() |
R | The R property returns the red component of the color from 0 to 255. |
![]() |
Saturation | The Saturation property returns the saturation of the color. |
![]() |
Value | The Value property returns the value of the color as a 32-bit value. |
See also: