User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_color.fromahsl_single_single_single_single

Table of Contents

TGIS_Color.FromAHSL method

DK11 for Java | tatukgis.jdk.TGIS_Color.FromAHSL | Fields | Methods | Properties

Creates a transparent color using the HSL color model.

Available also on: Delphi | .NET | ActiveX | Python.

Syntax

// Java
public static TGIS_Color FromAHSL(
  float _a,
  float _h,
  float _s,
  float _l
);
// Oxygene
public
  class function FromAHSL(
    _a : Single;
    _h : Single;
    _s : Single;
    _l : 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
_l float
Single
luminance; expected value: 0..1

Result

Type Description
TGIS_Color Created color.
2022/11/30 19:29

Page Tools