Exporter mixin

Layer mixin: rasterise into the editor's exported image. The host calls paintExport when the user submits the edit.

Mixin applications

Properties

exportSize → Size
This layer's intrinsic export size — typically the source image's natural dimensions.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintExport(Canvas canvas, Size size) → void
Paint into the export canvas. size is the editor-wide export size (max over all exporters), so layers must position themselves accordingly.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited