User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_color.tohsl_double_double_double

Table of Contents

TGIS_Color.ToHSL method

DK11 for .NET | TatukGIS.NDK.TGIS_Color.ToHSL | Fields | Methods | Properties

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

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public void ToHSL(
  ref double _h,
  ref double _s,
  ref double _l
);
' VisualBasic
Public Sub ToHSL(
  ByRef _h As Double,
  ByRef _s As Double,
  ByRef _l As Double
)
// 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
2020/05/07 01:19