Skip to main content

Create(TdxAlphaColor,TdxAlphaColor) Constructor

Creates a new two-color palette from the specified TdxAlphaColor values.

Declaration

constructor Create(AFillColor: TdxAlphaColor; AStrokeColor: TdxAlphaColor);

Parameters

Name Type
AFillColor TdxAlphaColor
AStrokeColor TdxAlphaColor

Remarks

Call this constructor to create a palette from two colors passed as the AFillColor and AStrokeColor parameters. The constructor uses these colors to initialize the FillColor and StrokeColor properties, respectively.

See Also