User Tools

Site Tools


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

Table of Contents

TGIS_Color.ToHSV method

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

Parameters

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