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

IPTCFormat.G

Gets the green component mask of the format object.

Declaration

Source position: formatd.inc line 49

property IPTCFormat.G: Uint32
  read GetG;

Description

Gets the green component mask of the format object.

The green color mask is only valid if the format object is direct color. A format object is direct color if it was created by the TPTCFormatFactory.CreateNew(ABits: Integer; AR, AG, AB, AA: Uint32) constructor. If the format object is not direct color then the green mask is always zero.