C# Class entity.MetaEditor2.ColorHandler.RGB

Handle conversions between RGB and HSV (and Color types, as well).
Mostrar archivo Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
Alpha int
Blue int
Green int
Red int

Public Methods

Method Description
RGB ( int R, int G, int B ) : System

Initializes a new instance of the RGB struct.

RGB ( int A, int R, int G, int B ) : System

Initializes a new instance of the RGB struct.

ToString ( ) : string

The to string.

Method Details

RGB() public method

Initializes a new instance of the RGB struct.
public RGB ( int R, int G, int B ) : System
R int The R.
G int The G.
B int The B.
return System

RGB() public method

Initializes a new instance of the RGB struct.
public RGB ( int A, int R, int G, int B ) : System
A int The A.
R int The R.
G int The G.
B int The B.
return System

ToString() public method

The to string.
public ToString ( ) : string
return string

Property Details

Alpha public_oe property

The alpha.
public int Alpha
return int

Blue public_oe property

The blue.
public int Blue
return int

Green public_oe property

The green.
public int Green
return int

Red public_oe property

The red.
public int Red
return int