C# Class entity.MetaEditor2.ColorHandler.RGB

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

Méthodes publiques

Свойство Type Description
Alpha int
Blue int
Green int
Red int

Méthodes publiques

Méthode 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 méthode

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.
Résultat System

RGB() public méthode

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.
Résultat System

ToString() public méthode

The to string.
public ToString ( ) : string
Résultat string

Property Details

Alpha public_oe property

The alpha.
public int Alpha
Résultat int

Blue public_oe property

The blue.
public int Blue
Résultat int

Green public_oe property

The green.
public int Green
Résultat int

Red public_oe property

The red.
public int Red
Résultat int