PortSpatialItem class final

Spatial item for a port on a node.

Inheritance
Available extensions

Constructors

PortSpatialItem({required String portId, required String nodeId, required bool isOutput, 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
isOutput bool
Whether this is an output port (true) or input port (false).
final
isPort bool

Available on SpatialItem, provided by the SpatialItemTypeChecks extension

no setter
nodeId String
final
portId 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) PortSpatialItem
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