User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromargb_cardinal

Table of Contents

TGIS_Color.FromARGB(Cardinal) method

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

Create color from integer in ABGR form (Alpha Red Green Blue).

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

Result

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

Page Tools