-
The x-coordinate of the top-left point, as a fraction of image width (0-1)
Declaration
Swift
@objc dynamic var x: Double -
The y-coordinate of the top-left point, as a fraction of image height (0-1)
Declaration
Swift
@objc dynamic var y: Double -
The width of the bounding-box, as a fraction of image width (0-1)
Declaration
Swift
@objc dynamic var width: Double -
The height of the bounding-box, as a fraction of image height (0-1)
Declaration
Swift
@objc dynamic var height: Double -
A label that this rectangle represents
Declaration
Swift
var annotationLabel: String? -
An item that this rectangle represents
Declaration
Swift
var annotationLinkedItem: Item? { get } -
The photo that this annotation belongs to
Declaration
Swift
var annotatedPhoto: Photo? { get } -
Undocumented
Declaration
Swift
public required convenience init(from decoder: Decoder) throws
PhotoAnnotation Class Reference