Interface IBitmapPalette
- Namespace
 - RetroEditor.Plugins
 
- Assembly
 - RetroEditor.dll
 
Interface for a palette - used with the PaletteWidget class
public interface IBitmapPalette
  Properties
ColoursPerRow
Colours to display per row
uint ColoursPerRow { get; }
  Property Value
Height
Height of each colour in pixels
uint Height { get; }
  Property Value
SelectedColour
Current chosen palette index
int SelectedColour { get; set; }
  Property Value
Width
Width of each colour in pixels
uint Width { get; }
  Property Value
Methods
GetPalette()
Get the palette
ReadOnlySpan<Pixel> GetPalette()
  Returns
- ReadOnlySpan<Pixel>
 Array of colours