User Tools

Site Tools


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

Table of Contents

TGIS_Color.FromARGB(byte, byte, byte, byte) method

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

Create color from Alpha Red Green Blue elements.

Available also on: Delphi | Java | ActiveX.

Syntax

// C#
public static TGIS_Color FromARGB(
  byte _a,
  byte _r,
  byte _g,
  byte _b
);
' VisualBasic
Public Shared Function FromARGB(
  ByVal _a As Byte,
  ByVal _r As Byte,
  ByVal _g As Byte,
  ByVal _b As Byte
) As TGIS_Color
// Oxygene
public
  class function FromARGB(
    _a : Byte;
    _r : Byte;
    _g : Byte;
    _b : Byte
  ) : TGIS_Color;

Parameters

Name Type Description
_a byte
Byte
alpha; expected value: 0..255
_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.
2020/05/07 01:19