GplFile Class
Definition
A GPL palette retaining its header, colour names, comments and original text bytes.
c#
public sealed class GplFile : PaletteFileConstructors
| Name | Description |
|---|---|
GplFile(PaletteData, String, Int32, IReadOnlyList<String>) | Creates an opaque GPL palette with a name, column count and optional colour names. |
Properties
| Name | Description |
|---|---|
Entries | Gets the colour entries in palette order. |
Format | Gets the format. |
Header | Gets the GPL header. |
Lines | Gets the ordered body lines, including colour entries, comments and blank lines. |
Palette | Gets a shared convenience view derived from the file's concrete components. |