Color type used by most LCL drawing functions.
Source position: graphics.pp line 80
type TColor = TGraphicsColor; |
TColor is an alias for the TGraphicsColor type in GraphType.pp from the BaseUtils package. TColor allows hexadecimal values in the range -$7FFFFFFF-1..$7FFFFFFF and represent the minimum and maximum values for the Long data type.
Bytes in the hexadecimal value are used as follows:
$OOBBGGRR
There are predefined color constants like those in Delphi, such as: clBlack, clRed, clGreen, and clBlue. There are extended color constants, like: clMoneyGreen and clMedGray. There are special color constants like: clDefault and clNone.
Additionally, there are system color constants like: clWindowText and clForm. These constants have a color and/or pattern depending on the users theme, the LCL control, or the drawing tool (Pen, Brush, Font).
See ColorToRGB and RGBToColor.
TGraphicsColor |
||
|
Converts a TColor value to an RGB color constant. |
|
|
Combines the values for Red, Green and Blue into a TColor value. |
|
|
One of the standard colors. Delphi compatible. |
|
|
One of the special colors. |
|
|
The default color of a given control. |
CT Web help |
CodeTyphon Studio |