One Logo Pool Ball
VisionKit · IOS API REFERENCE

RecognizedItem.Bounds

struct · iOS 16.0+ · SDK 27.1

struct Bounds

An object that represents the four corners of a recognized item.

Members (8)

get · iOS 16.0+

bottomLeft

TypeScript
get bottomLeft(): { x: number; y: number }
Swift declaration
var bottomLeft: CGPoint

The lower-left corner of the recognized item in view coordinates.

set · iOS 16.0+

bottomLeft

TypeScript
set bottomLeft(value: { x: number; y: number })
Swift declaration
var bottomLeft: CGPoint

The lower-left corner of the recognized item in view coordinates.

get · iOS 16.0+

bottomRight

TypeScript
get bottomRight(): { x: number; y: number }
Swift declaration
var bottomRight: CGPoint

The lower-right corner of the recognized item in view coordinates.

set · iOS 16.0+

bottomRight

TypeScript
set bottomRight(value: { x: number; y: number })
Swift declaration
var bottomRight: CGPoint

The lower-right corner of the recognized item in view coordinates.

get · iOS 16.0+

topLeft

TypeScript
get topLeft(): { x: number; y: number }
Swift declaration
var topLeft: CGPoint

The upper-left corner of the recognized item in view coordinates.

set · iOS 16.0+

topLeft

TypeScript
set topLeft(value: { x: number; y: number })
Swift declaration
var topLeft: CGPoint

The upper-left corner of the recognized item in view coordinates.

get · iOS 16.0+

topRight

TypeScript
get topRight(): { x: number; y: number }
Swift declaration
var topRight: CGPoint

The upper-right corner of the recognized item in view coordinates.

set · iOS 16.0+

topRight

TypeScript
set topRight(value: { x: number; y: number })
Swift declaration
var topRight: CGPoint

The upper-right corner of the recognized item in view coordinates.

Skipped declarations

No declarations were skipped in this snapshot.

All VisionKit types →