User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.toahsl_double_double_double_double

Table of Contents

TGIS_Color.ToAHSL method

DK11 for Delphi | GisTypesUI.TGIS_Color.ToAHSL | Fields | Methods | Properties

Retrieve the hue (H), saturation (S) and lightness (L) of the current color.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure ToAHSL(
    var _a : Double;
    var _h : Double;
    var _s : Double;
    var _l : Double
  ); inline;
// C++ Builder
public:
  void ToAHSL(
    double &_a,
    double &_h,
    double &_s,
    double &_l
  );

Parameters

Name Type Description
_a Double alpha, varies from 0 to 1
_h Double hue, varies from 0 to 1
_s Double saturation, varies from 0 to 1
_l Double lightness, varies from 0 to 1
2020/05/07 01:10

Page Tools