User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromRGB(byte, byte, byte) 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(
  byte _r,
  byte _g,
  byte _b
);
// Oxygene
public
  class function FromRGB(
    _r : Byte;
    _g : Byte;
    _b : Byte
  ) : TGIS_Color;

Parameters

Name Type Description
_r byte
Byte
red; expected value: 0..255
_g byte
Byte
green; expected value: 0..255
_b byte
Byte
blue; expected value: 0..255

Result

Type Description
TGIS_Color Created color.

References

2022/11/30 19:29

Page Tools