User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromHSL method

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

Creates a color using the HSL color model.

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

Syntax

// Java
public static TGIS_Color FromHSL(
  float _h,
  float _s,
  float _l
);
// Oxygene
public
  class function FromHSL(
    _h : Single;
    _s : Single;
    _l : Single
  ) : TGIS_Color;

Parameters

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