AndroidPointerCoords class

Position information for an Android pointer.

A Dart version of Android's MotionEvent.PointerCoords.

Constructors

AndroidPointerCoords({@required double orientation, @required double pressure, @required double size, @required double toolMajor, @required double toolMinor, @required double touchMajor, @required double touchMinor, @required double x, @required double y })
Creates an AndroidPointerCoords. [...]
const

Properties

orientation double
The orientation of the touch area and tool area in radians clockwise from vertical. [...]
final
pressure double
A normalized value that describes the pressure applied to the device by a finger or other tool. [...]
final
size double
A normalized value that describes the approximate size of the pointer touch area in relation to the maximum detectable size of the device. [...]
final
toolMajor double
See Android's MotionEvent.PointerCoords#toolMajor.
final
toolMinor double
See Android's MotionEvent.PointerCoords#toolMinor.
final
touchMajor double
See Android's MotionEvent.PointerCoords#touchMajor.
final
touchMinor double
See Android's MotionEvent.PointerCoords#touchMinor.
final
x double
The X component of the pointer movement. [...]
final
y double
The Y component of the pointer movement. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
Returns a string representation of this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited