PaletteData Constructors
Initializes a palette by copying the specified colours.
c#
public PaletteData(IEnumerable<Colour> colours);Parameters
| Name | Type | Description |
|---|---|---|
colours | IEnumerable<Colour> | The colours in palette-index order. At least one colour is required. |