Initializer

init(requestRevision:topLeft:bottomLeft:bottomRight:topRight:)

A convenience initializer for creating a rectangle observation from its corner points.

Declaration

convenience init(requestRevision: Int, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint)

Parameters

requestRevision

The rectangle detector revision number. A higher revision indicates more recent iterations of the framework.

topLeft

The upper-left corner point.

bottomLeft

The lower-left corner point.

bottomRight

The lower-right corner point.

topRight

The upper-right corner point.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software