C# Класс Alexandria.Engines.Sciagi.Resources.PaletteColor

A color inside a Palette.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
Blue byte
Green byte
Red byte
Used bool

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

Метод Описание
PaletteColor ( bool used, byte red, byte green, byte blue ) : System

Initialise the color.

PaletteColor ( byte red, byte green, byte blue ) : System

Initialise the color.

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

PaletteColor() публичный метод

Initialise the color.
public PaletteColor ( bool used, byte red, byte green, byte blue ) : System
used bool
red byte
green byte
blue byte
Результат System

PaletteColor() публичный метод

Initialise the color.
public PaletteColor ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
Результат System

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

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

Get the blue attribute, from 0 (dark) to 255 (bright).
public byte Blue
Результат byte

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

Get the green attribute, from 0 (dark) to 255 (bright).
public byte Green
Результат byte

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

Get the red attribute, from 0 (dark) to 255 (bright).
public byte Red
Результат byte

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

Get whether this color is used.
public bool Used
Результат bool