ConnectionSegmentItem class final

Spatial item for a segment of a connection path.

Inheritance
Available extensions

Constructors

ConnectionSegmentItem({required String connectionId, required int segmentIndex, required Rect bounds})
const

Properties

bounds Rect
The bounding rectangle of this item.
finalinherited
connectionId String
final
hashCode int
The hash code for this object.
no setteroverride
id String
Unique identifier for the spatial index.
no setteroverride
isAnnotation bool

Available on SpatialItem, provided by the SpatialItemTypeChecks extension

no setter
isConnectionSegment bool

Available on SpatialItem, provided by the SpatialItemTypeChecks extension

no setter
isNode bool

Available on SpatialItem, provided by the SpatialItemTypeChecks extension

no setter
isPort bool

Available on SpatialItem, provided by the SpatialItemTypeChecks extension

no setter
referenceId String
The ID of the actual domain object (node ID, connection ID, etc.).
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentIndex int
final

Methods

copyWithBounds(Rect newBounds) ConnectionSegmentItem
Creates a copy with updated bounds.
override
getBounds() Rect
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override