DiagramConnectorRouteRequest class final
Resolved endpoint input for a portable connector route algorithm. Providers return geometry only and cannot mutate document or editor state.
Constructors
-
DiagramConnectorRouteRequest({required ConnectorElement connector, required DiagramPoint start, required DiagramPoint end, DiagramPoint? startOutward, DiagramPoint? endOutward, ConnectorEndpoint? startEndpoint, ConnectorEndpoint? endEndpoint, DiagramRect? startOwnerBounds, DiagramRect? endOwnerBounds, double startClearance = 0, double endClearance = 0, Iterable<
DiagramRect> obstaclesWithin(DiagramRect bounds)?}) -
const
Properties
- connector → ConnectorElement
-
final
- end → DiagramPoint
-
final
- endClearance → double
-
final
- endEndpoint → ConnectorEndpoint?
-
final
- endOutward → DiagramPoint?
-
final
- endOwnerBounds → DiagramRect?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
obstaclesWithin
→ Iterable<
DiagramRect> Function(DiagramRect bounds)? -
Spatial-index backed obstacle bounds near a region, excluding terminal
owners and containers. Live resolution may supply the last publication's
index for cheap validation of a retained route; it is not a search budget.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → DiagramPoint
-
final
- startClearance → double
-
final
- startEndpoint → ConnectorEndpoint?
-
final
- startOutward → DiagramPoint?
-
final
- startOwnerBounds → DiagramRect?
-
final
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