Skip to content

PaintNetFile Class

Definition

A Paint.NET text palette retaining all stored entries, comments and original text.

public sealed class PaintNetFile : PaletteFile

View source

Constructors

Name Description
PaintNetFile(PaletteData) Creates a Paint.NET palette, preserving colour order and alpha.

Properties

Name Description
Entries Gets all stored colour entries, without padding or truncating for Paint.NET's UI.
Format Gets the format.
Lines Gets the ordered lines, including colour entries, comments and blank lines.
Palette Gets a shared convenience view derived from the file's concrete components.