Class VNRectangleObservation

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, VNRequestRevisionProviding, ObjCProtocol
Direct Known Subclasses:
VNBarcodeObservation, VNRecognizedTextObservation, VNTextObservation

public class VNRectangleObservation
extends VNDetectedObjectObservation
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • VNRectangleObservation

      public VNRectangleObservation()
    • VNRectangleObservation

      protected VNRectangleObservation​(NSObject.Handle h, long handle)
    • VNRectangleObservation

      protected VNRectangleObservation​(NSObject.SkipInit skipInit)
    • VNRectangleObservation

      public VNRectangleObservation​(long requestRevision, CGPoint topLeft, CGPoint bottomLeft, CGPoint bottomRight, CGPoint topRight)
      Since:
      Available in iOS 13.0 and later.
  • Method Details

    • getTopLeft

      public CGPoint getTopLeft()
    • getTopRight

      public CGPoint getTopRight()
    • getBottomLeft

      public CGPoint getBottomLeft()
    • getBottomRight

      public CGPoint getBottomRight()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(long requestRevision, CGPoint topLeft, CGPoint bottomLeft, CGPoint bottomRight, CGPoint topRight)
      Since:
      Available in iOS 13.0 and later.