User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromahsv_single_single_single_single

Table of Contents

TGIS_Color.FromAHSV method

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

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

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  class function FromAHSV(
    const _a : Single;
    const _h : Single;
    const _s : Single;
    const _v : Single
  ) : TGIS_Color; static; inline;
// C++ Builder
public:
  static TGIS_Color* FromAHSV(
    const float _a,
    const float _h,
    const float _s,
    const float _v
  );

Parameters

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

Result

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

Page Tools