User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromRGB(byte, byte, byte) method

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

Create color from Red Green Blue elements.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public static TGIS_Color FromRGB(
  byte _r,
  byte _g,
  byte _b
);
' VisualBasic
Public Shared Function FromRGB(
  ByVal _r As Byte,
  ByVal _g As Byte,
  ByVal _b As Byte
) As TGIS_Color
// 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

2020/05/07 01:19