User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.tohsl_double_double_double

Table of Contents

TGIS_Color.ToHSL method

DK11 for Delphi | GisTypesUI.TGIS_Color.ToHSL | 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 ToHSL(
    var _h : Double;
    var _s : Double;
    var _l : Double
  ); inline;
// C++ Builder
public:
  void ToHSL(
    double &_h,
    double &_s,
    double &_l
  );

Parameters

Name Type Description
_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