TileIndex class

Index of tile on tile-map. On zoom level 0 ranges between 0, 1.

Constructors

TileIndex(double x, double y)
Default Constructor.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
Hortizontal Axis.
getter/setter pair
y double
Vertical Axis.
getter/setter pair

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 *(double scale) TileIndex
Multiplies a TileIndex with an scalar.
operator +(TileIndex other) TileIndex
Adds two TileIndexs.
operator -(TileIndex other) TileIndex
Subtracts two TileIndexs.
operator /(double scale) TileIndex
Divides a TileIndex with an scalar.
operator ==(Object other) bool
The equality operator.
inherited

Static Methods

lerp(TileIndex a, TileIndex b, double t) TileIndex
Linear interpolation of two TileIndexs.