User Tools

Site Tools


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

Table of Contents

TGIS_Color.ToAHSV method

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

Retrieve the hue (H), saturation (S) and value/brightness (V/B) of the current color.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public void ToAHSV(
  ref double _a,
  ref double _h,
  ref double _s,
  ref double _v
);
' VisualBasic
Public Sub ToAHSV(
  ByRef _a As Double,
  ByRef _h As Double,
  ByRef _s As Double,
  ByRef _v As Double
)
// Oxygene
public
  procedure ToAHSV(
    var _a : Double;
    var _h : Double;
    var _s : Double;
    var _v : 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
_v double
Double
value/brightness, varies from 0 to 1
2020/05/07 01:19