Table of Contents

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

uint

Height

Height of each colour in pixels

uint Height { get; }

Property Value

uint

SelectedColour

Current chosen palette index

int SelectedColour { get; set; }

Property Value

int

Width

Width of each colour in pixels

uint Width { get; }

Property Value

uint

Methods

GetPalette()

Get the palette

ReadOnlySpan<Pixel> GetPalette()

Returns

ReadOnlySpan<Pixel>

Array of colours