User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromabgr_cardinal

Table of Contents

TGIS_Color.FromABGR method

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

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

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

Name Type Description
_value Cardinal color value as 4 byte little endian integer; bytes from most significant are: Alpha, Blue, Green, Blue

Result

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

Page Tools