Position class

A Position indicates the position of a Location relative to a graph component (Node, Edge, or Area). @version 1.7

Constructors

Position()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Static Properties

LEFT int
An indicator that a Location is to the left of a GraphComponent
final
ON int
An indicator that a Location is on a GraphComponent
final
An indicator that a Location is to the right of a GraphComponent
final

Static Methods

opposite(int position) int
Returns LEFT if the position is RIGHT, RIGHT if the position is LEFT, or the position otherwise.