ResolvedOutline class abstract
Renderer-independent geometry contract. Extensions may provide new outline implementations without changing the engine or document model.
Constructors
- ResolvedOutline(DiagramRect bounds)
-
const
Properties
- bounds → DiagramRect
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
boundaryToward(
DiagramPoint target) → DiagramPoint -
contains(
DiagramPoint point) → bool -
containsBounds(
DiagramRect rectangle) → bool - Proves a complete axis-aligned rectangle is inside this local outline. False may mean unknown; custom and concave outlines remain conservative.
-
hitTest(
DiagramPoint point, {required double tolerance}) → bool -
Picking with a caller tolerance. Closed outlines pick their interior only;
stroke-like outlines widen their stroke to
toleranceinstead of the fixed diagramStrokeHitTolerance used by contains. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
strokedBounds(
double width) → DiagramRect - Conservative exterior ink bounds for the renderer's miter limit of four. Curved/rectangular outlines need only half the stroke width; arbitrary corners may extend to four times that distance. This is a culling envelope, not a replacement for the outline used by hit testing or attachments.
-
toString(
) → String -
A string representation of this object.
inherited
-
translated(
DiagramPoint delta) → ResolvedOutline? -
This outline moved by
delta, or null when the implementation cannot translate itself. Resolution then re-runs the full shape pipeline.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited