Class

PointerEvent


Description

Information about the pointer (finger, mouse or pen) at the moment a pointer-related event occurs on a canvas control.

Properties

Name

Type

Read-Only

Shared

Position

Point

Pressure

Double

Size

Double

Methods

Name

Parameters

Returns

Shared

Handle

Ptr

Property descriptions


PointerEvent.Position

Position As Point

The location of the event in relation to the area where the event took place with the upper-left corner of the area being at 0, 0.

This property is read-only.


PointerEvent.Pressure

Pressure As Double

The amount of pressure exerted on surface by the pointer (usually a stylus such as the Apple Pencil) at the time of the event.

This property is read-only.

A value of 1.0 is an average amount of pressure.


PointerEvent.Size

Size As Double

The radius (in points) of the pointer at the time the event took place.

This property is read-only.

Method descriptions


PointerEvent.Handle

Handle As Ptr

Returns a Ptr to the event for use with declares.

Important

This is supported for iOS only.

Compatibility

Mobile projects on all supported mobile operating systems.