PngExportPort class abstract interface

Host-owned final PNG operation.

The editor supplies both the canonical editable scene and the prepared scene currently used for visual rendering.

Implementations own the complete final PNG operation, including any host policy checks, runtime resource preparation, rendering, and platform output required to complete it.

Hosts should use editableScene for document-level policy or semantics and preparedScene for PNG rendering.

Properties

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
savePng({required CanvasSceneDocument editableScene, required CanvasSceneDocument preparedScene, required EditorExportSpec spec, required String filename}) Future<String>
sharePng({required CanvasSceneDocument editableScene, required CanvasSceneDocument preparedScene, required EditorExportSpec spec, required String filename, String? text}) Future<String>
toString() String
A string representation of this object.
inherited

Operators

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