User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromRGB(uint) method

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

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

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public static TGIS_Color FromRGB(
  uint _value
);
' VisualBasic
Public Shared Function FromRGB(
  ByVal _value As UInt32
) As TGIS_Color
// Oxygene
public
  class function FromRGB(
    _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, red, green, nlue

Result

Type Description
TGIS_Color Created color.

References

2020/05/27 01:11