Landmark
public struct Landmark : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Type of landmark.
Declaration
Swift
public let type: LandmarkType?
-
The x-coordinate from the top left of the landmark expressed as the ratio of the width of the image. For example, if the image is 700 x 200 and the x-coordinate of the landmark is at 350 pixels, this value is 0.5.
Declaration
Swift
public let x: Float?
-
The y-coordinate from the top left of the landmark expressed as the ratio of the height of the image. For example, if the image is 700 x 200 and the y-coordinate of the landmark is at 100 pixels, this value is 0.5.
Declaration
Swift
public let y: Float?
-
Undocumented
Declaration
Swift
public init(type: LandmarkType? = nil, x: Float? = nil, y: Float? = nil)