PointerEvent
        Inherits: Event[EventControlType]
Properties
- 
          device(float) –Unique identifier for the pointing device, reused across interactions. 
- 
          distance(float) –The distance of the detected object from the input surface. 
- 
          distance_max(float) –The maximum value that distancecan return for this pointer.
- 
          global_delta(Offset | None) –The delta of the pointer's position since the event start, in logical pixels, 
- 
          global_position(Offset) –Coordinate of the position of the pointer, in logical pixels in 
- 
          kind(PointerDeviceType) –The kind of input device for which the event was generated. 
- 
          local_delta(Offset | None) –The delta of the pointer's position since the event start, in logical pixels, 
- 
          local_position(Offset) –The position transformed into the event receiver's local coordinate 
- 
          orientation(float) –The orientation angle of the detected object, in radians. 
- 
          pressure(float) –The pressure of the touch. 
- 
          pressure_max(float) –The maximum value that pressurecan return for this pointer.
- 
          pressure_min(float) –The minimum value that pressurecan return for this pointer.
- 
          radius_major(float) –The radius of the contact ellipse along the major axis, in logical pixels. 
- 
          radius_max(float) –The maximum value that could be reported for radius_majorandradius_minor
- 
          radius_min(float) –The minimum value that could be reported for radius_majorandradius_minor
- 
          radius_minor(float) –The radius of the contact ellipse along the minor axis, in logical pixels. 
- 
          size(float) –The area of the screen being pressed. 
- 
          tilt(float) –The tilt angle of the detected object, in radians. 
- 
          timestamp(Duration) –Time of event dispatch, relative to an arbitrary timeline. 
Properties#
class-attribute
      instance-attribute
  
#
    Unique identifier for the pointing device, reused across interactions.
class-attribute
      instance-attribute
  
#
    The distance of the detected object from the input surface. For instance, this value could be the distance of a stylus or finger from a touch screen, in arbitrary units on an arbitrary (not necessarily linear) scale. If the pointer is down, this is 0.0 by definition.
class-attribute
      instance-attribute
  
#
    The maximum value that distance can return for this pointer.
If this input device cannot detect "hover touch" input events,
then this will be 0.0.
class-attribute
      instance-attribute
  
#
    The delta of the pointer's position since the event start, in logical pixels, within the global coordinate space.
class-attribute
      instance-attribute
  
#
    Coordinate of the position of the pointer, in logical pixels in the global coordinate space.
class-attribute
      instance-attribute
  
#
kind: PointerDeviceType = field(
    metadata={"data_field": "k"}
)
The kind of input device for which the event was generated.
class-attribute
      instance-attribute
  
#
    The delta of the pointer's position since the event start, in logical pixels, within the local coordinate space.
class-attribute
      instance-attribute
  
#
    The position transformed into the event receiver's local coordinate system according to transform.
class-attribute
      instance-attribute
  
#
    The orientation angle of the detected object, in radians.
class-attribute
      instance-attribute
  
#
    The pressure of the touch.
This value is a number ranging from 0.0, indicating a touch with no discernible pressure, to 1.0, indicating a touch with "normal" pressure, and possibly beyond, indicating a stronger touch. For devices that do not detect pressure (e.g. mice), returns 1.0.
class-attribute
      instance-attribute
  
#
    The maximum value that pressure can return for this pointer.
For devices that do not detect pressure (e.g. mice), returns 1.0.
This will always be a greater than or equal to 1.0.
class-attribute
      instance-attribute
  
#
    The minimum value that pressure can return for this pointer.
For devices that do not detect pressure (e.g. mice), returns 1.0. This will always be a number less than or equal to 1.0.
class-attribute
      instance-attribute
  
#
    The radius of the contact ellipse along the major axis, in logical pixels.
class-attribute
      instance-attribute
  
#
    The maximum value that could be reported for radius_major and radius_minor
for this pointer, in logical pixels.
class-attribute
      instance-attribute
  
#
    The minimum value that could be reported for radius_major and radius_minor
for this pointer, in logical pixels.
class-attribute
      instance-attribute
  
#
    The radius of the contact ellipse along the minor axis, in logical pixels.
class-attribute
      instance-attribute
  
#
    The area of the screen being pressed.
This value is scaled to a range between 0 and 1. It can be used to determine fat touch events. This value is only set on Android and is a device specific approximation within the range of detectable values. So, for example, the value of 0.1 could mean a touch with the tip of the finger, 0.2 a touch with full finger, and 0.3 the full palm.
class-attribute
      instance-attribute
  
#
    The tilt angle of the detected object, in radians.