Contents

init(shape:constrainedAxes:)

Morphs the pointer into the provided shape when hovering over the current region.

Declaration

@MainActor @preconcurrency convenience init(shape: UIPointerShape, constrainedAxes: UIAxis = [])

Parameters

  • shape:

    The Uipointershape Swift.enum to use, defaults to nil.

  • constrainedAxes:

    An array of Uiaxis directions in which to constrain the pointer. The default is no constraints.

See Also

Creating a pointer style