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

IPTCColor.G

Gets the green color component of the color object.

Declaration

Source position: colord.inc line 47

property IPTCColor.G: Single
  read GetG;

Description

Gets the green color component of the color object.

The green 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 green component is always zero.