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

Creates a color using the RGB color model.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

// C#
public static static TGIS_Color FromRGB(
  uint _value
);
' VisualBasic
Public Static 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

2024/12/20 22:23

Page Tools