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

IPTCColor.A

Gets the alpha color component of the color object.

Declaration

Source position: colord.inc line 49

property IPTCColor.A: Single
  read GetA;

Description

Gets the alpha color component of the color object.

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