Skip to content

GplFile Class

Definition

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

public sealed class GplFile : PaletteFile

View source

Constructors

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.