User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.fromargb_byte_byte_byte_byte

Table of Contents

TGIS_Color.FromARGB(Byte; Byte; Byte; Byte) method

DK11 for Delphi | GisTypesUI.TGIS_Color.FromARGB | Overloads | Fields | Methods | Properties

Create color from Alpha Red Green Blue elements.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
public
  class function FromARGB(
    const _a : Byte;
    const _r : Byte;
    const _g : Byte;
    const _b : Byte
  ) : TGIS_Color; overload; static; inline;
// C++ Builder
public:
  static TGIS_Color* FromARGB(
    const unsigned char _a,
    const unsigned char _r,
    const unsigned char _g,
    const unsigned char _b
  ) /* overload */;

Parameters

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

Result

Type Description
TGIS_Color Created color.
2020/05/07 01:10

Page Tools