[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCColor.R

Gets the red color component of the color object.

Declaration

Source position: colord.inc line 46

property IPTCColor.R: Single
  read GetR;

Description

Gets the red color component of the color object.

The red color component is only valid if the color object is direct color. A color object is direct color if it was created by the TPTCColorFactory.CreateNew(AR, AG, AB, AA: Single) constructor. If the color object is not direct color then the red component is always zero.