User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromARGB(uint) method

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

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

Available also on: Delphi | Java | ActiveX.

Syntax

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

Parameters

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