User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.frombgr_cardinal

Table of Contents

TGIS_Color.FromBGR(Cardinal) method

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

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

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

Result

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

Page Tools