User Tools

Site Tools


api:dk11:delphi:gistypesui.tgis_color.frombgr_byte_byte_byte

Table of Contents

TGIS_Color.FromBGR(Byte; Byte; Byte) method

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

Create color from Blue Green Red elements.

Available also on: .NET | Java | ActiveX.

Syntax

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

Parameters

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

Result

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

Page Tools