Data model
-
Stores list of shapes and size of drawing.
See moreDeclaration
Swift
public class Drawing : Codable -
All drawing operations must implement this protocol
See moreDeclaration
Swift
public protocol DrawingOperation -
Store and manage the undo/redo stack for a drawing
See moreDeclaration
Swift
public class DrawingOperationStack -
Declaration
Swift
public protocol DrawingOperationStackDelegate : AnyObject -
Aggregate of objects that may be used by tools during operations
See moreDeclaration
Swift
public struct ToolOperationContext -
Collection of properties for use by tools. Unlike
See moreUserSettings, these properties are meant to be set by the tools themselves.Declaration
Swift
public class ToolSettings -
Collection of user-settable properties for use by tools when creating new shapes.
See moreDeclaration
Swift
public class UserSettings
View on GitHub
Data model Reference