Vision · IOS API REFERENCE
VNRectangleObservation
class · iOS 11.0+ · SDK 27.1
class VNRectangleObservation
Members (6)
init · iOS 13.0+ · Deprecated in iOS 17.0init
TypeScriptstatic initRequestRevisionTopLeftBottomLeftBottomRightTopRight(requestRevision: number, topLeft: { x: number; y: number }, bottomLeft: { x: number; y: number }, bottomRight: { x: number; y: number }, topRight: { x: number; y: number }): VNRectangleObservation
Swift declarationconvenience init(requestRevision: Int, topLeft: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint, topRight: CGPoint)
init · iOS 17.0+init
TypeScriptstatic initRequestRevisionTopLeftTopRightBottomRightBottomLeft(requestRevision: number, topLeft: { x: number; y: number }, topRight: { x: number; y: number }, bottomRight: { x: number; y: number }, bottomLeft: { x: number; y: number }): VNRectangleObservation
Swift declarationconvenience init(requestRevision: Int, topLeft: CGPoint, topRight: CGPoint, bottomRight: CGPoint, bottomLeft: CGPoint)
get · iOS 11.0+bottomLeft
TypeScriptget bottomLeft(): { x: number; y: number }
Swift declarationvar bottomLeft: CGPoint { get }
get · iOS 11.0+bottomRight
TypeScriptget bottomRight(): { x: number; y: number }
Swift declarationvar bottomRight: CGPoint { get }
get · iOS 11.0+topLeft
TypeScriptget topLeft(): { x: number; y: number }
Swift declarationvar topLeft: CGPoint { get }
get · iOS 11.0+topRight
TypeScriptget topRight(): { x: number; y: number }
Swift declarationvar topRight: CGPoint { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
VNRectangleObservation.init()
inherited init: cannot prove legal (class declares 2 custom initializers)
All Vision types →