DiagramResizeTransform class final

One immutable resize mapping for every element in a transform selection.

Bounds are in the selection's unrotated frame. Points are mapped through rotation about the original center. The caller supplies admitted target bounds (including registry minima), ownership closure, and resolved frames. Results are published through ordinary validated transactions.

Constructors

DiagramResizeTransform({required DiagramRect fromBounds, required DiagramRect toBounds, double rotation = 0})

Properties

fromBounds → DiagramRect
final
hashCode → int
The hash code for this object.
no setterinherited
rotation → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleX → double
no setter
scaleY → double
no setter
toBounds → DiagramRect
final

Methods

apply(DiagramElement element, {DiagramRect? resolvedFrame, bool fixTextWidth = false}) → DiagramElement
Preserve content and bindings while resizing geometry from a frozen scene.
mapPoint(DiagramPoint point) → DiagramPoint
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