One Logo Pool Ball
UIKit · IOS API REFERENCE

UIRegion

class · iOS 9.0+ · SDK 27.1

@MainActor class UIRegion

Members (8)

get · iOS 9.0+

infinite

TypeScript
static get infinite(): Promise<UIRegion>
Swift declaration
class var infinite: UIRegion { get }
method · iOS 9.0+

contains

TypeScript
contains(point: { x: number; y: number }): Promise<boolean>
Swift declaration
func contains(_ point: CGPoint) -> Bool
init · iOS 9.0+

init

TypeScript
static initRadius(radius: number): Promise<UIRegion>
Swift declaration
init(radius: CGFloat)
init · iOS 9.0+

init

TypeScript
static initSize(size: { width: number; height: number }): Promise<UIRegion>
Swift declaration
init(size: CGSize)
method · iOS 9.0+

inverse

TypeScript
inverse(): Promise<UIRegion>
Swift declaration
func inverse() -> Self
method · iOS 9.0+

byDifference

TypeScript
byDifference(region: UIRegion): Promise<UIRegion>
Swift declaration
func byDifference(from region: UIRegion) -> Self
method · iOS 9.0+

byIntersection

TypeScript
byIntersection(region: UIRegion): Promise<UIRegion>
Swift declaration
func byIntersection(with region: UIRegion) -> Self
method · iOS 9.0+

byUnion

TypeScript
byUnion(region: UIRegion): Promise<UIRegion>
Swift declaration
func byUnion(with region: UIRegion) -> Self

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UIRegion.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UIKit types →