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

TPTCColorFactory.CreateNew

Declaration

Source position: line 0

class function TPTCColorFactory.CreateNew: IPTCColor;

class function TPTCColorFactory.CreateNew(

  AIndex: Integer

):IPTCColor;

class function TPTCColorFactory.CreateNew(

  ARed: Single;

  AGreen: Single;

  ABlue: Single;

  AAlpha: Single = 1

):IPTCColor;

class function TPTCColorFactory.CreateNew(

  AColor: IPTCColor

):IPTCColor;

Arguments

AIndex

  

The color index.

Arguments

ARed

  

The red color component.

AGreen

  

The green color component.

ABlue

  

The blue color component.

AAlpha

  

The alpha color component (defaults to one).