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

hashCode int
The hash code for this object.
no setterinherited
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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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

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