User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.toahsv_double_double_double_double

Table of Contents

TGIS_Color.ToAHSV method

DK11 for Delphi | GisTypesUI.TGIS_Color.ToAHSV | Fields | Methods | Properties

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

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  procedure ToAHSV(
    var _a : Double;
    var _h : Double;
    var _s : Double;
    var _v : Double
  ); inline;
// C++ Builder
public:
  void ToAHSV(
    double &_a,
    double &_h,
    double &_s,
    double &_v
  );

Parameters

Name Type Description
_a Double alpha, varies from 0 to 1
_h Double hue, varies from 0 to 1
_s Double saturation, varies from 0 to 1
_v Double value/brightness, varies from 0 to 1
2020/05/07 01:10

Page Tools