C# Класс CEngineSharp_Server.Utilities.Color

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
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

Описание методов

Color() публичный Метод

Construct the color from another
public Color ( Color color ) : System.Runtime.InteropServices
color Color Color to copy
Результат System.Runtime.InteropServices

Color() публичный Метод

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
Результат System.Runtime.InteropServices

Color() публичный Метод

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
Результат System.Runtime.InteropServices

ToString() публичный Метод

Provide a string describing the object
public ToString ( ) : string
Результат string

Описание свойств

A публичное свойство

Alpha (transparent) component of the color
public byte A
Результат byte

B публичное свойство

Blue component of the color
public byte B
Результат byte

Black публичное статическое свойство

Predefined black color
public static Color,CEngineSharp_Server.Utilities Black
Результат Color

Blue публичное статическое свойство

Predefined blue color
public static Color,CEngineSharp_Server.Utilities Blue
Результат Color

Cyan публичное статическое свойство

Predefined cyan color
public static Color,CEngineSharp_Server.Utilities Cyan
Результат Color

G публичное свойство

Green component of the color
public byte G
Результат byte

Green публичное статическое свойство

Predefined green color
public static Color,CEngineSharp_Server.Utilities Green
Результат Color

Magenta публичное статическое свойство

Predefined magenta color
public static Color,CEngineSharp_Server.Utilities Magenta
Результат Color

R публичное свойство

Red component of the color
public byte R
Результат byte

Red публичное статическое свойство

Predefined red color
public static Color,CEngineSharp_Server.Utilities Red
Результат Color

Transparent публичное статическое свойство

Predefined (black) transparent color
public static Color,CEngineSharp_Server.Utilities Transparent
Результат Color

White публичное статическое свойство

Predefined white color
public static Color,CEngineSharp_Server.Utilities White
Результат Color

Yellow публичное статическое свойство

Predefined yellow color
public static Color,CEngineSharp_Server.Utilities Yellow
Результат Color