AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkColor.Create Method (Byte, Byte, Byte, Byte)

Creates a color record based on Red, Green, Blue and Alpha components.

Syntax
Pascal
class function Create(const Red: Byte; const Green: Byte; const Blue: Byte; const Alpha: Byte = $FF): TAgkColor; overload; static;
Parameters 
Description 
const Red: Byte 
the red component of the color. 
const Green: Byte 
the green component of the color. 
const Blue: Byte 
the blue component of the color. 
const Alpha: Byte = $FF 
(optional) the alpha component of the color, where 0 is fully transparent and 255 (default) is fully opaque.
TAgkColor 
Copyright (c) 2012. All rights reserved.