A backend that can draw its results into a browser canvas on its worker.
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- overlayActive → bool
-
False when canvas transfer is unsupported or worker drawing failed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attachOverlay(
Object canvas) → Future< void> - Transfers a browser canvas to the task's worker for drawing.
-
detachOverlay(
) → Future< void> - Stops drawing; the transferred canvas stays blank afterwards.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setOverlayOptions(
{required bool connections, required bool points, required bool mirrored, required double scale}) → void - Chooses what the worker draws and how the preview is transformed.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited