User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_color.fromrgb_cardinal

Table of Contents

TGIS_Color.FromRGB(int) method

DK11 for Java | tatukgis.jdk.TGIS_Color.FromRGB | Overloads | Fields | Methods | Properties

Creates a color using the RGB color model.

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

Syntax

// Java
public static TGIS_Color FromRGB(
  int _value
);
// Oxygene
public
  class function FromRGB(
    _value : Cardinal
  ) : TGIS_Color;

Parameters

Name Type Description
_value int
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

2022/11/30 19:29

Page Tools