![]() |
Atlas-Cronos
7.4.0
|
Palettes handles palette selections. More...
Static Public Member Functions | |
static Palette | FromString (string paletteName) |
Get palette from a palette name. More... | |
static Palette | Open (Stream stream) |
Open a palette file from disk. Palette files have .pal as file extension. More... | |
static Palette | Open (string fileName) |
Open a palette file from disk. Palette files have .pal as file extension. More... | |
Static Public Attributes | |
static Palette | Arctic => Palettes[0] |
Gets the Arctic Palette. More... | |
static Palette | Cool => Palettes[1] |
Gets the Cool Palette. More... | |
static Palette | Grey => Palettes[2] |
Gets the Grey Palette. More... | |
static Palette | Iron => Palettes[3] |
Gets the Iron Palette. More... | |
static Palette | Lava => Palettes[4] |
Gets the Lava Palette. More... | |
static Palette | Rainbow => Palettes[5] |
Gets the Rain Palette. More... | |
static Palette | RainHighContrast => Palettes[6] |
Gets the RainHC Palette. More... | |
static Palette | Warm => Palettes[7] |
Gets the Warm Palette. More... | |
Properties | |
static List< Palette > | Palettes [get] |
Array of built-in palettes. More... | |
Palette | FromImage [get] |
Built-in palette from image. More... | |
Palettes handles palette selections.
|
inlinestatic |
Get palette from a palette name.
paletteName | Name of the palette to select. |
|
inlinestatic |
Open a palette file from disk. Palette files have .pal as file extension.
stream | A stream to a valid palette. |
ArgumentException | |
FileNotFoundException | |
InvalidOperationException |
|
inlinestatic |
Open a palette file from disk. Palette files have .pal as file extension.
fileName | Full path to a valid palette file. |
ArgumentException | |
FileNotFoundException | |
InvalidOperationException |
Gets the Arctic Palette.
Gets the Rain Palette.
Gets the RainHC Palette.
|
get |
Built-in palette from image.
image.Palette = _image.PaletteManager.FromImage;
|
staticget |
Array of built-in palettes.