User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromrgb_cardinal

Table of Contents

TGIS_Color.FromRGB(Cardinal) method

DK11 for Delphi | GisTypesUI.TGIS_Color.FromRGB | Overloads | Fields | Methods | Properties

Creates a color using the RGB color model.

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

Syntax

// Delphi
public
  class function FromRGB(
    const _value : Cardinal
  ) : TGIS_Color; overload; static; inline;
// C++ Builder
public:
  static TGIS_Color* FromRGB(
    const unsigned _value
  ) /* overload */;

Parameters

Name Type Description
_value Cardinal color value as 4 byte little endian integer; bytes from most significant are: ignored, red, green, nlue

Result

Type Description
TGIS_Color Created color.

References

2024/12/20 22:20

Page Tools