EditorViewportFraming class
Live-editor viewport framing configuration.
Preview thumbnails and final exports should pass their own render/crop configuration instead of reusing live editor surface configuration.
- Annotations
Constructors
- EditorViewportFraming.artboard({double paddingPx = 24.0})
-
const
- EditorViewportFraming.contentBounds({double paddingPx = 0.0, ContentBoundsSpec? contentBoundsSpec = const ContentBoundsSpec(paddingPx: 24.0)})
-
const
Properties
- contentBoundsSpec → ContentBoundsSpec?
-
Configuration used to derive rendered content bounds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- paddingPx → double
-
Padding applied by the viewport planner while fitting the framing target.
final
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited