User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_color.frombgr_cardinal

Table of Contents

TGIS_Color.FromBGR(uint) method

DK11 for .NET | TatukGIS.NDK.TGIS_Color.FromBGR | Overloads | Fields | Methods | Properties

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

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public static TGIS_Color FromBGR(
  uint _value
);
' VisualBasic
Public Shared Function FromBGR(
  ByVal _value As UInt32
) As TGIS_Color
// Oxygene
public
  class function FromBGR(
    _value : Cardinal
  ) : TGIS_Color;

Parameters

Name Type Description
_value uint
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:19