CanvasView class final
A Canvas-backed TeaModel-compatible helper that wraps a Canvas in a static (non-interactive) view. Useful for compositing views inside larger layouts.
For interactive canvases, embed Canvas in your own TeaModel.view().
Constructors
- CanvasView(Canvas canvas)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → String - Returns the rendered canvas content as a plain string.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited