CoordinateContent mixin
An interface to write coordinate data to format encoders and object builders.
Coordinate positions are represented either as Position and bounding boxes are represented either as Box.
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
-
bounds(
Box bounds) → void - Writes a bounding box represented by bounds of Box.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
position(
Position coordinates) → void -
Writes a single position represented by
coordinates
of Position. -
positions(
Iterable< Position> coordinates) → void -
Writes an array of Position items represented by
coordinates
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited