ResolvedConnector class final
A connector resolved to its route: points and bodyPoints along the path, arrowheads at its ends, handles, labels and bundle badges.
source is the authored connector.
- Inheritance
-
- Object
- ResolvedElement
- ResolvedConnector
Constructors
-
ResolvedConnector({DiagramConnectorDefinition definition = const DiagramConnectorDefinition(), DiagramConnectorBendEditor? bendEditor, DiagramConnectorControlEditor? controlEditor, DiagramConnectorRouteDiagnostic? routeDiagnostic, required String id, bool isLocked = false, required int zIndex, required DiagramRect bounds, required ConnectorElement source, required List<
DiagramPoint> points, List<DiagramPoint> routeWaypoints = const [], required DiagramPoint startBindingPosition, required DiagramPoint endBindingPosition, DiagramPoint? routeStart, DiagramPoint? routeEnd, required List<DiagramPoint> bodyPoints, required ResolvedArrowhead? startArrowhead, required ResolvedArrowhead? endArrowhead, required List<DiagramPoint> controlPoints, required DiagramPoint? bendHandle, required DiagramPoint startTangent, required DiagramPoint endTangent, required List<DiagramPoint> selectionHull, required DiagramRect selectionBounds, List<ResolvedConnectorLabel> labels = const [], List<String> bundleMembers = const [], DiagramRect? bundleBadgeBounds, ResolvedTextStory? bundleBadgeText, List<ResolvedConnectorBundleBadge> ? bundleBadges, ResolvedPathGeometry? resolvedPath}) - ResolvedConnector.withSource(ResolvedConnector previous, {required ConnectorElement source})
- Retains routes, labels and markers when only paint appearance changes.
Properties
- bendEditor → DiagramConnectorBendEditor?
-
final
- bendHandle → DiagramPoint?
-
final
- bendOrigin → DiagramPoint
-
Stable zero-bend position, independent of contour and arrowhead clipping.
no setter
-
bodyPoints
→ List<
DiagramPoint> -
final
- bounds → DiagramRect
-
finalinherited
- bundleBadgeBounds → DiagramRect?
-
First attachment badge; use bundleBadges for both collapsed endpoints.
no setter
-
bundleBadges
→ List<
ResolvedConnectorBundleBadge> -
final
- bundleBadgeText → ResolvedTextStory?
-
no setter
-
bundleMembers
→ List<
String> -
Original connector identities in this derived collapsed overview bundle.
Empty means the connection is displayed individually.
final
- controlEditor → DiagramConnectorControlEditor?
-
final
-
controlPoints
→ List<
DiagramPoint> -
final
- definition → DiagramConnectorDefinition
-
final
- endArrowhead → ResolvedArrowhead?
-
final
- endBindingPosition → DiagramPoint
-
final
- endTangent → DiagramPoint
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
finalinherited
- isBundleRepresentative → bool
-
no setter
- isLocked → bool
-
finalinherited
- isRouteStale → bool
-
A retained planned route no longer fits; explicit rerouting can refresh it.
no setter
-
labelInkCutouts
→ List<
DiagramRect> -
World-space cutouts in the connector body beneath nonempty label ink.
Shared by canvas and vector output; markers remain outside this clipping.
latefinal
-
labels
→ List<
ResolvedConnectorLabel> -
final
- opacity → double
-
Complete-element opacity from canonical appearance.
no setterinherited
- pathGeometry → ResolvedPathGeometry
-
latefinal
-
points
→ List<
DiagramPoint> -
final
- resolvedPath → ResolvedPathGeometry?
-
Pre-resolved when labels require path geometry during scene admission.
final
- routeDiagnostic → DiagramConnectorRouteDiagnostic?
-
Why the published route is degraded, such as a stale planned route or a
provider fallback. Null for an ordinary route.
final
- routeEnd → DiagramPoint
-
final
- routeStart → DiagramPoint
-
Endpoints used to construct the route before clipping it to its owners.
Bend gestures use this same basis so clipping cannot move the handle.
final
-
routeWaypoints
→ List<
DiagramPoint> -
Unrounded orthogonal vertices shared by segment handles and route editing.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectionBounds → DiagramRect
-
final
-
selectionHull
→ List<
DiagramPoint> -
final
- source → ConnectorElement
-
final
- startArrowhead → ResolvedArrowhead?
-
final
- startBindingPosition → DiagramPoint
-
Authored attachment locations, distinct from the clipped visible route.
final
- startTangent → DiagramPoint
-
final
- zIndex → int
-
finalinherited
Methods
-
hitTest(
DiagramPoint worldPoint, {double tolerance = 5}) → bool -
override
-
labelAt(
DiagramPoint worldPoint) → ResolvedConnectorLabel? - Most recently authored overlapping attachment owns the hit.
-
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