MapGestureStep class

One change a gesture makes to the camera: the ground under from moved under to, then zoomed by zoomBy levels and turned by turn degrees of bearing about around, and tilted by tilt degrees of pitch. around is to when not given, and the camera's centre on the screen when neither is.

Annotations

Constructors

MapGestureStep({Offset? from, Offset? to, Offset? around, double zoomBy = 0, double turn = 0, double tilt = 0})
const

Properties

anchor → Offset?
The anchor of the zoom and turn, or null for the camera's centre.
no setter
around → Offset?
final
from → Offset?
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tilt → double
final
to → Offset?
final
turn → double
final
zoomBy → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scaled(double k) → MapGestureStep
k of the way through this step, 0 none of it and 1 all of it.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited