AnnotationSpatialItem class final

Spatial item for an annotation.

Inheritance
Available extensions

Constructors

AnnotationSpatialItem({required String annotationId, required Rect bounds})
const

Properties

annotationId String
final
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
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) AnnotationSpatialItem
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