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

IPTCColor.B

Gets the blue color component of the color object.

Declaration

Source position: colord.inc line 48

property IPTCColor.B: Single
  read GetB;

Description

Gets the blue color component of the color object.

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