Previous: Clipping constants To the Table of Content Next: Fill pattern constants

- 4.37.1.5 -
Standard Units
Graph Unit
Graph Unit Types, Constants and Variables

Color constants

Targets: MS-DOS, Win32


Graph Unit

Graph unit defines the following color constants:
 clBlack:        DWORD =0;
 clBlue:         DWORD =1;
 clGreen:        DWORD =2;
 clCyan:         DWORD =3;
 clRed:          DWORD =4;
 clMagenta:      DWORD =5;
 clBrown:        DWORD =6;
 clLightGray:    DWORD =7;
 clDarkGray:     DWORD =8;
 clLightBlue:    DWORD =9;
 clLightGreen:   DWORD =10;
 clLightCyan:    DWORD =11;
 clLightRed:     DWORD =12;
 clLightMagenta: DWORD =13;
 clYellow:       DWORD =14;
 clWhite:        DWORD =15;
Remarks:
All assigned values above are listed for 256-colored modes only. In HiColor and TrueColor SVGA modes those values will be automatically toned up by the Graph unit to a concrete graphic mode. I.e. those constants actually are constant-variables, which initialize whenever the current color mode changes. You may use color variables to display the same colors in different graphic modes (256-colored, HiColor or TrueColor).


Previous: Clipping constants To the Table of Content Next: Fill pattern constants
Clipping constants Table of Content Fill pattern constants

- 4.37.1.5 -