[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'GraphType' (#lazutils)

TGraphicsColor

Defines the Integer range type with values that can be used for colors.

Declaration

Source position: graphtype.pp line 42

type TGraphicsColor = System.UITypes.TColor;

Description

TGraphicsColor is an alias to the range type used for color constants. The base type for the definition is dependent on the FPC compiler version used to build the LazUtils package.

Starting in FPC version 3.2.3, the base type is the TColor type defined in the System.UITypes namespace in the FPC run-time library (RTL). For previous compiler versions, the base type is the numeric range -$7FFFFFFF-1..$7FFFFFFF.

This is done to prevent type conflicts when both System.UITypes and LCL/LazUtils units are used.

See also

TColor


Version 3.2 Generated 2024-02-25 Home