C# Класс Core2D.Style.ArgbColor

Color definition using alpha, red, green and blue channels.
Наследование: ObservableObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Clone ( ) : ArgbColor

Clones color.

Create ( byte a = 0xFF, byte r = 0x00, byte g = 0x00, byte b = 0x00 ) : ArgbColor

Creates a new ArgbColor instance.

FromUInt32 ( uint value ) : ArgbColor

Creates a ArgbColor from an integer.

Parse ( string s ) : ArgbColor

Parses a color string.

ToHtml ( ArgbColor c ) : string

Converts a color to string.

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

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

Clones color.
public Clone ( ) : ArgbColor
Результат ArgbColor

Create() публичный статический Метод

Creates a new ArgbColor instance.
public static Create ( byte a = 0xFF, byte r = 0x00, byte g = 0x00, byte b = 0x00 ) : ArgbColor
a byte The alpha color channel.
r byte The red color channel.
g byte The green color channel.
b byte The blue color channel.
Результат ArgbColor

FromUInt32() публичный статический Метод

Creates a ArgbColor from an integer.
public static FromUInt32 ( uint value ) : ArgbColor
value uint The integer value.
Результат ArgbColor

Parse() публичный статический Метод

Parses a color string.
public static Parse ( string s ) : ArgbColor
s string The color string.
Результат ArgbColor

ToHtml() публичный статический Метод

Converts a color to string.
public static ToHtml ( ArgbColor c ) : string
c ArgbColor The color instance.
Результат string