User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromHSV method

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

Create color from hue, saturation and value/brightness.

Available also on: Delphi | Java | ActiveX.

Syntax

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

Parameters

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