PeachDrawing.Core
PeachDrawing.Core.Font
Font.TryGetPaletteColor(int, int, PaintColor) Method
Resolves a CPAL palette entry to its color. Returns false when the font has no palette data or the indices are out of range.
public virtual bool TryGetPaletteColor(int paletteIndex, int entryIndex, out PeachDrawing.Core.PaintColor color);
Parameters
paletteIndex System.Int32
entryIndex System.Int32
color PaintColor