FaceExtents
@objc(VerIDFaceExtents)
public class FaceExtents : NSObject, Comparable
Represents extents of a face within a view
Since
2.0.0-
Proportion of the view width (1.0 = same width as the view)
Declaration
Swift
@objc public let proportionOfViewWidth: CGFloat
-
Proportion of the view height (1.0 = same height as the view)
Declaration
Swift
@objc public let proportionOfViewHeight: CGFloat
-
Initializer
Declaration
Swift
@objc public init(proportionOfViewWidth: CGFloat, proportionOfViewHeight: CGFloat)
Parameters
proportionOfViewWidth
Proportion of the view width (1.0 = same width as the view)
proportionOfViewHeight
Proportion of the view height (1.0 = same height as the view)
-
Default face extents
Declaration
Swift
@objc public static let defaultExtents: FaceExtents
-
Declaration
Swift
public static func < (lhs: FaceExtents, rhs: FaceExtents) -> Bool