VLDGlareArea

Objective-C

@interface VLDGlareArea : NSObject

Swift

class VLDGlareArea : NSObject

VLDGlareArea contains the coordinates that make up a region of glare detected in an image by the OCR process.

  • A general location of where the glare is located. This point is in the coordinate space of the screen.

    Declaration

    Objective-C

    @property (nonatomic) CGPoint location;

    Swift

    var location: CGPoint { get set }
  • The bounding coordinates of the glare region. Points are stored as NSValue objects containing CGPoint structures. All points are in the coordinate space of the screen.

    Declaration

    Objective-C

    @property (nonatomic, copy, nullable) NSArray<NSValue *> *outerPoints;

    Swift

    var outerPoints: [NSValue]? { get set }
  • A UIBezierPath constructed using the outerPoints.

    Declaration

    Objective-C

    - (UIBezierPath *_Nonnull)bezierPath;

    Swift

    func bezierPath() -> UIBezierPath