C# Class CEngineSharp_Server.Utilities.Color

ファイルを表示 Open project: JohnLamontagne/CEngineSharp Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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 method

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

Color() public method

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
return System.Runtime.InteropServices

Color() public method

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
return System.Runtime.InteropServices

ToString() public method

Provide a string describing the object
public ToString ( ) : string
return string

Property Details

A public_oe property

Alpha (transparent) component of the color
public byte A
return byte

B public_oe property

Blue component of the color
public byte B
return byte

Black public_oe static_oe property

Predefined black color
public static Color,CEngineSharp_Server.Utilities Black
return Color

Blue public_oe static_oe property

Predefined blue color
public static Color,CEngineSharp_Server.Utilities Blue
return Color

Cyan public_oe static_oe property

Predefined cyan color
public static Color,CEngineSharp_Server.Utilities Cyan
return Color

G public_oe property

Green component of the color
public byte G
return byte

Green public_oe static_oe property

Predefined green color
public static Color,CEngineSharp_Server.Utilities Green
return Color

Magenta public_oe static_oe property

Predefined magenta color
public static Color,CEngineSharp_Server.Utilities Magenta
return Color

R public_oe property

Red component of the color
public byte R
return byte

Red public_oe static_oe property

Predefined red color
public static Color,CEngineSharp_Server.Utilities Red
return Color

Transparent public_oe static_oe property

Predefined (black) transparent color
public static Color,CEngineSharp_Server.Utilities Transparent
return Color

White public_oe static_oe property

Predefined white color
public static Color,CEngineSharp_Server.Utilities White
return Color

Yellow public_oe static_oe property

Predefined yellow color
public static Color,CEngineSharp_Server.Utilities Yellow
return Color