AuthoredPathOutline class final

A resolved instance-authored stroke produced by the closed shape grammar. Points are never interaction handles; the shape frame remains the only transform authority.

Inheritance

Constructors

AuthoredPathOutline(DiagramRect bounds, Iterable<DiagramPoint> points, {Iterable<DiagramPoint> inkHull = const []})
AuthoredPathOutline.fromNormalized(DiagramRect bounds, Iterable<DiagramPoint> normalizedPoints, {List<double> widths = const [], double strokeWidth = 0, InkPreset preset = InkPreset.pen})
factory

Properties

bounds → DiagramRect
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
inkHull → List<DiagramPoint>
final
points → List<DiagramPoint>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

boundaryToward(DiagramPoint target) → DiagramPoint
override
contains(DiagramPoint point) → bool
override
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.
inherited
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 tolerance instead of the fixed diagramStrokeHitTolerance used by contains.
override
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.
inherited
toString() → String
A string representation of this object.
inherited
translated(DiagramPoint delta) → AuthoredPathOutline
This outline moved by delta, or null when the implementation cannot translate itself. Resolution then re-runs the full shape pipeline.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited