GplFile Constructors
Creates an opaque GPL palette with a name, column count and optional colour names.
c#
public GplFile(PaletteData palette, string name = OakIO, int columns = 0, IReadOnlyList<string>? colourNames = null);Parameters
| Name | Type | Description |
|---|---|---|
palette | PaletteData | The colours in palette order. |
name | String | The palette name. |
columns | Int32 | The display column count, from zero to 255. |
colourNames | IReadOnlyList<String> | Optional names, one per colour. |