MLKitVision Framework Reference

  • VisionPoint represents a point in an image, using the same scale as the original image.

  • It includes x and y properties, representing the point's coordinates as CGFloat values.

  • The init method is unavailable for direct instantiation.

VisionPoint

class VisionPoint : NSObject

A point in an image. The point’s coordinates have the same scale as the original image.

  • x

    The x-coordinate of the point.

    Declaration

    Swift

    var x: CGFloat { get }
  • y

    The y-coordinate of the point.

    Declaration

    Swift

    var y: CGFloat { get }
  • Unavailable.