PeachDrawing.Text

PeachDrawing.Text.Outlines.ColorPalette

ColorPalette.TryGetColor(int, int, Color) Method

Looks up one colour.

public bool TryGetColor(int paletteIndex, int entryIndex, out System.Drawing.Color color);

Parameters

paletteIndex System.Int32

The palette; the first one is used when the index is out of range.

entryIndex System.Int32

The entry within the palette.

color System.Drawing.Color

The colour, with its alpha.

Returns

System.Boolean
false when the entry does not exist.