Tilt class

Describes device's position on x and y axis.

Constructors

Tilt(double xRadian, double yRadian)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xDegrees double
Describes the rotation of the device's longer side 0 == parallel to the ground 90 == device standing upright, bottom side facing the ground -90 == device standing upside-down, top side facing the ground 180 and -180 == device's screen facing down
no setter
xRadian double
Describes the rotation of the device's longer side 0 == parallel to the ground pi/2 == device standing upright, bottom side facing the ground -pi/2 == device standing upside-down, top side facing the ground pi and -pi == device's screen facing down
final
yDegrees double
Describes the rotation of the device's shorter side 0 == parallel to the ground 90 == right side of the device facing the ground, left side up -90 == left side of the device facing the ground, right side up 180 and -180 == device's screen facing down, shorter sides parallel to the ground
no setter
yRadian double
Describes the rotation of the device's shorter side 0 == parallel to the ground pi/2 == right side of the device facing the ground, left side up -pi/2 == left side of the device facing the ground, right side up pi and -pi == device's screen facing down, shorter sides parallel to the ground
final

Methods

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.
inherited