-
Notifications
You must be signed in to change notification settings - Fork 5
SerializableDocument
CPKreuz edited this page Dec 11, 2021
·
3 revisions
Definition:
namespace PixiEditor.Parser;
[DataContract]
public class SerializableDocument : IEnumerable<SerializableLayer>The SerializableDocument class contains all information about a document like the layers, swatches and file version
Version FileVersion - The version of the file
int Width - The width of the document
int Height - The height of the document
SwatchCollection Swatches - The swatches of the document stored as a list of System.Drawing.Color
LayerCollection Layers - The layers contained in the document, also accessible through the GetEnumerator() method and through a foreach statement
Can also be used to edit the group structure of the document
List<SerializableGroup> Groups - The groups of the document