User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_color.tohsl_double_double_double

Table of Contents

TGIS_Color.ToHSL method

DK11 for Java | tatukgis.jdk.TGIS_Color.ToHSL | Fields | Methods | Properties

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

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public void ToHSL(
  /* ref */ @ValueTypeParameter VarParameter<double> _h,
  /* ref */ @ValueTypeParameter VarParameter<double> _s,
  /* ref */ @ValueTypeParameter VarParameter<double> _l
);
// Oxygene
public
  procedure ToHSL(
    var _h : Double;
    var _s : Double;
    var _l : Double
  );

Parameters

Name Type Description
_h double
Double
hue, varies from 0 to 1
_s double
Double
saturation, varies from 0 to 1
_l double
Double
lightness, varies from 0 to 1
2022/11/30 19:29

Page Tools