User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromhsl_single_single_single

Table of Contents

TGIS_Color.FromHSL method

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

Create color from hue, saturation and luminance.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_h Single hue; expected value: 0..1
_s Single saturation; expected value: 0..1
_l Single luminance; expected value: 0..1

Result

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

Page Tools