init(rect:identifier:)

Creates a pointer region with the specified rectangle and optional identifier.

Declaration

@MainActor @preconcurrency convenience init(rect: CGRect, identifier: AnyHashable? = nil)