TsgColorCAD

  Classes Reference > Records, types etc. >

TsgColorCAD

Previous pageReturn to chapter overviewNext page

Unit

sgConsts

Syntax

type TsgColorCAD = packed record

   Active: TsgActiveColor;

   Color: Cardinal;

   AlbumString: string;

 end;

Description

Structure represents a color that is used for drawing entities.  

Field

Meaning

Active

Color palette (

acIndexColor: AutoCAD Index palette

acRGBColor: RGB palette)

Color

 

Code example

  vPoly.ColorCAD := MakeColorCAD(acIndexColor,5); // AutoCAD index color

See full example

Color value

Go to CAD VCL Enterprise