User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_color.fromrgb_cardinal

Table of Contents

TGIS_Color.FromRGB(int) method

DK11 for Python | tatukgis.pdk.TGIS_Color.FromRGB | Overloads | Methods | Properties

Creates a color using the RGB color model.

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

Syntax

# Python
@classmethod
def FromRGB(
  cls,
  _value: int
) -> TGIS_Color: 

Parameters

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

2023/08/09 01:51

Page Tools