C# Class Alexandria.Engines.Sciagi.Resources.PaletteColor

A color inside a Palette.
Afficher le fichier Open project: Burton-Radons/Alexandria Class Usage Examples

Méthodes publiques

Свойство Type Description
Blue byte
Green byte
Red byte
Used bool

Méthodes publiques

Méthode Description
PaletteColor ( bool used, byte red, byte green, byte blue ) : System

Initialise the color.

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

Initialise the color.

Method Details

PaletteColor() public méthode

Initialise the color.
public PaletteColor ( bool used, byte red, byte green, byte blue ) : System
used bool
red byte
green byte
blue byte
Résultat System

PaletteColor() public méthode

Initialise the color.
public PaletteColor ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
Résultat System

Property Details

Blue public_oe property

Get the blue attribute, from 0 (dark) to 255 (bright).
public byte Blue
Résultat byte

Green public_oe property

Get the green attribute, from 0 (dark) to 255 (bright).
public byte Green
Résultat byte

Red public_oe property

Get the red attribute, from 0 (dark) to 255 (bright).
public byte Red
Résultat byte

Used public_oe property

Get whether this color is used.
public bool Used
Résultat bool