Table of Contents

TDrawingColor.FromHSL Method

Overloads

TDrawingColor.FromHSL(THSLColor)

Returns a color class with a specified HSL color.

Syntax

Unit: FlexCel.Core

class function TDrawingColor.FromHSL(const aColor: THSLColor): TDrawingColor; static; overload;

Parameters

<-> Parameter Type Description
const aColor THSLColor Color that we want to set.

Returns

The corresponding system color.

See also

TDrawingColor.FromHSL(THSLColor, TColorTransformArray)

Returns a color class with an specified HSL color.

Syntax

Unit: FlexCel.Core

class function TDrawingColor.FromHSL(const aColor: THSLColor; const aTransforms: TArray<TColorTransform>): TDrawingColor; static; overload;

Parameters

<-> Parameter Type Description
const aColor THSLColor Color that we want to set.
const aTransforms TArray<​TColor​Transform> Transformations you want to apply.

Returns

The corresponding system color.

See also