FormXDocumentRegion
public struct FormXDocumentRegion
A region containing document in a image. Coordinates are normalized within [0, 1) range, with the origin at the bottom-left corner of the image.
-
The containing image of the document region.
Declaration
Swift
public let image: CIImage -
The orientation of the containing image.
Declaration
Swift
public let orientation: CGImagePropertyOrientation -
The top-left point of the document region.
Declaration
Swift
public let topLeft: CGPoint -
The top-right point of the document region.
Declaration
Swift
public let topRight: CGPoint -
The bottom-left point of the document region.
Declaration
Swift
public let bottomLeft: CGPoint -
The bottom-right point of the document region.
Declaration
Swift
public let bottomRight: CGPoint -
The bounding box of the document region.
Declaration
Swift
public let boundingBox: CGRect -
Undocumented
Declaration
Swift
public func toVertices(size: CGSize) -> [CGPoint]
FormXDocumentRegion Structure Reference