User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromAHSV method

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

Create color from alpha, hue, saturation and value/brightness.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public static TGIS_Color FromAHSV(
  float _a,
  float _h,
  float _s,
  float _v
);
' VisualBasic
Public Shared Function FromAHSV(
  ByVal _a As Single,
  ByVal _h As Single,
  ByVal _s As Single,
  ByVal _v As Single
) As TGIS_Color
// Oxygene
public
  class function FromAHSV(
    _a : Single;
    _h : Single;
    _s : Single;
    _v : Single
  ) : TGIS_Color;

Parameters

Name Type Description
_a float
Single
alpha; expected value: 0..1
_h float
Single
hue; expected value: 0..1
_s float
Single
saturation; expected value: 0..1
_v float
Single
value/brightness; expected value: 0..1

Result

Type Description
TGIS_Color Created color.
2020/05/07 01:19