User Tools

Site Tools


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

Table of Contents

TGIS_Color.ToAHSL method

DK11 for .NET | TatukGIS.NDK.TGIS_Color.ToAHSL | 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 ToAHSL(
  ref double _a,
  ref double _h,
  ref double _s,
  ref double _l
);
' VisualBasic
Public Sub ToAHSL(
  ByRef _a As Double,
  ByRef _h As Double,
  ByRef _s As Double,
  ByRef _l As Double
)
// Oxygene
public
  procedure ToAHSL(
    var _a : Double;
    var _h : Double;
    var _s : Double;
    var _l : Double
  );

Parameters

Name Type Description
_a double
Double
alpha, varies from 0 to 1
_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