Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

ColorToRGB

Converts a TColor value to an RGB color constant.

Declaration

Source position: graphics.pp line 1964

function ColorToRGB(

  Color: TColor

):LongInt;

Arguments

Color

  

TColor value converted in the method.

Function result

LongInt value representing the specified color.

Description

ColorToRGB ensures that TColor values for special and system colors remove the non-RGB values in the constant.



CT Web help

CodeTyphon Studio