Instance Property

majorRadiusTolerance

The tolerance (in points) of the touch’s radius.

Declaration

var majorRadiusTolerance: CGFloat { get }

Discussion

This value determines the accuracy of the value in the majorRadius property. Add this value to the radius to get the maximum touch radius. Subtract the value to get the minimum touch radius.

See Also

Getting the Location of a Touch

func location(in: UIView?)

Returns the current location of the receiver in the coordinate system of the given view.

func previousLocation(in: UIView?)

Returns the previous location of the receiver in the coordinate system of the given view.

var view: UIView?

The view to which touches are being delivered, if any.

var window: UIWindow?

The window in which the touch initially occurred.

var majorRadius: CGFloat

The radius (in points) of the touch.

func preciseLocation(in: UIView?)

Returns a precise location for the touch, when available.

func precisePreviousLocation(in: UIView?)

Returns a precise previous location for the touch, when available.