NodeSpatialItem class final
Spatial item for a node.
- Inheritance
-
- Object
- SpatialItem
- NodeSpatialItem
- Available extensions
Constructors
- NodeSpatialItem({required String nodeId, required Rect bounds})
-
const
Properties
- bounds → Rect
-
The bounding rectangle of this item.
finalinherited
- 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 - nodeId → String
-
final
- 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
Methods
-
copyWithBounds(
Rect newBounds) → NodeSpatialItem -
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