C# Class CEngineSharp_Server.Utilities.Color

Afficher le fichier Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
A byte
B byte
Black Color
Blue Color
Cyan Color
G byte
Green Color
Magenta Color
R byte
Red Color
Transparent Color
White Color
Yellow Color

Méthodes publiques

Méthode Description
Color ( Color color ) : System.Runtime.InteropServices

Construct the color from another

Color ( byte red, byte green, byte blue ) : System.Runtime.InteropServices

Construct the color from its red, green and blue components

Color ( byte red, byte green, byte blue, byte alpha ) : System.Runtime.InteropServices

Construct the color from its red, green, blue and alpha components

ToString ( ) : string

Provide a string describing the object

Method Details

Color() public méthode

Construct the color from another
public Color ( Color color ) : System.Runtime.InteropServices
color Color Color to copy
Résultat System.Runtime.InteropServices

Color() public méthode

Construct the color from its red, green and blue components
public Color ( byte red, byte green, byte blue ) : System.Runtime.InteropServices
red byte Red component
green byte Green component
blue byte Blue component
Résultat System.Runtime.InteropServices

Color() public méthode

Construct the color from its red, green, blue and alpha components
public Color ( byte red, byte green, byte blue, byte alpha ) : System.Runtime.InteropServices
red byte Red component
green byte Green component
blue byte Blue component
alpha byte Alpha (transparency) component
Résultat System.Runtime.InteropServices

ToString() public méthode

Provide a string describing the object
public ToString ( ) : string
Résultat string

Property Details

A public_oe property

Alpha (transparent) component of the color
public byte A
Résultat byte

B public_oe property

Blue component of the color
public byte B
Résultat byte

Black public_oe static_oe property

Predefined black color
public static Color,CEngineSharp_Server.Utilities Black
Résultat Color

Blue public_oe static_oe property

Predefined blue color
public static Color,CEngineSharp_Server.Utilities Blue
Résultat Color

Cyan public_oe static_oe property

Predefined cyan color
public static Color,CEngineSharp_Server.Utilities Cyan
Résultat Color

G public_oe property

Green component of the color
public byte G
Résultat byte

Green public_oe static_oe property

Predefined green color
public static Color,CEngineSharp_Server.Utilities Green
Résultat Color

Magenta public_oe static_oe property

Predefined magenta color
public static Color,CEngineSharp_Server.Utilities Magenta
Résultat Color

R public_oe property

Red component of the color
public byte R
Résultat byte

Red public_oe static_oe property

Predefined red color
public static Color,CEngineSharp_Server.Utilities Red
Résultat Color

Transparent public_oe static_oe property

Predefined (black) transparent color
public static Color,CEngineSharp_Server.Utilities Transparent
Résultat Color

White public_oe static_oe property

Predefined white color
public static Color,CEngineSharp_Server.Utilities White
Résultat Color

Yellow public_oe static_oe property

Predefined yellow color
public static Color,CEngineSharp_Server.Utilities Yellow
Résultat Color