MLKitVision Framework Reference

  • MLKVisionPoint represents a point in an image, with coordinates scaled to the original image.

  • It has two read-only properties: x for the horizontal coordinate and y for the vertical coordinate.

  • The init method is unavailable; presumably, instances are created through other means within the ML Kit framework.

MLKVisionPoint


@interface MLKVisionPoint : 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

    Objective-C

    @property (nonatomic, readonly) CGFloat x;
  • y

    The y-coordinate of the point.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGFloat y;
  • Unavailable.

    Declaration

    Objective-C

    - (nonnull instancetype)init;