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

A color inside a Palette.
Mostra file Open project: Burton-Radons/Alexandria Class Usage Examples

Public Properties

Property Type Description
Blue byte
Green byte
Red byte
Used bool

Public Methods

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

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

PaletteColor() public method

Initialise the color.
public PaletteColor ( byte red, byte green, byte blue ) : System
red byte
green byte
blue byte
return System

Property Details

Blue public_oe property

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

Green public_oe property

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

Red public_oe property

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

Used public_oe property

Get whether this color is used.
public bool Used
return bool