Skip to content

GplFile Class ​

Definition ​

A GPL palette retaining its header, colour names, comments and original text bytes.

c#
public sealed class GplFile : PaletteFile

View source

Constructors ​

NameDescription
GplFile(PaletteData, String, Int32, IReadOnlyList<String>)Creates an opaque GPL palette with a name, column count and optional colour names.

Properties ​

NameDescription
EntriesGets the colour entries in palette order.
FormatGets the format.
HeaderGets the GPL header.
LinesGets the ordered body lines, including colour entries, comments and blank lines.
PaletteGets a shared convenience view derived from the file's concrete components.