Previous: 4.37.1.4. Clipping constants To the Table of Contents Next: 4.37.1.6. Fill pattern constants
4.37.1.4. Clipping constants Table of Contents 4.37.1.6. Fill pattern constants

- 4.37.1.5. -
Table of Contents
4. Standard Units
4.37. Graph - Graph unit
4.37.1. Graph Unit Types, Constants, and Variables
4.37.1.5. Color constants


4.37.1.5. 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: 4.37.1.4. Clipping constants To the Table of Contents Next: 4.37.1.6. Fill pattern constants
4.37.1.4. Clipping constants Table of Contents 4.37.1.6. Fill pattern constants

- 4.37.1.5. -