RGLPosition
Objective-C
@interface RGLPosition : NSObject
/**
Document width and height
*/
@property(nonatomic, assign, readonly) CGSize size;
/**
Document center coordinates
*/
@property(nonatomic, assign, readonly) CGPoint center;
/**
Document left top corner coordinates
*/
@property(nonatomic, assign, readonly) CGPoint leftTop;
/**
Document left bottom corner coordinates
*/
@property(nonatomic, assign, readonly) CGPoint leftBottom;
/**
Document right top corner coordinates
*/
@property(nonatomic, assign, readonly) CGPoint rightTop;
/**
Document right bottom corner coordinates
*/
@property(nonatomic, assign, readonly) CGPoint rightBottom;
/**
Document rotation angle
*/
@property(nonatomic, assign, readonly) double angle;
/**
Internal use parameter
*/
@property(nonatomic, assign, readonly) double perspectiveTr;
/**
Internal use parameter
*/
@property(nonatomic, assign, readonly) double objArea;
/**
Internal use parameter
*/
@property(nonatomic, assign, readonly) double objIntAngleDev;
/**
Internal use parameter
*/
@property(nonatomic, assign, readonly) RGLCheckResult resultStatus;
/**
Document format
*/
@property(nonatomic, assign, readonly) RGLDocFormat docFormat;
/**
Index of the document page, whence the result is received
*/
@property(nonatomic, assign, readonly) NSInteger pageIndex;
/**
Resolution in dots per inch
*/
@property(nonatomic, assign, readonly) NSInteger dpi;
/**
Internal use parameter
*/
@property(nonatomic, assign, readonly) NSInteger inverse;
- (instancetype _Nonnull)init NS_UNAVAILABLE;
- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
- (NSDictionary *_Nonnull)jsonDictionary;
+ (NSDictionary *_Nonnull)dictionaryFromPoint:(CGPoint)point;
@end
Swift
class Position : NSObject
Undocumented
-
Document width and height
Declaration
Objective-C
@property (nonatomic, readonly) CGSize size;Swift
var size: CGSize { get } -
Document center coordinates
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint center;Swift
var center: CGPoint { get } -
Document left top corner coordinates
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint leftTop;Swift
var leftTop: CGPoint { get } -
Document left bottom corner coordinates
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint leftBottom;Swift
var leftBottom: CGPoint { get } -
Document right top corner coordinates
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint rightTop;Swift
var rightTop: CGPoint { get } -
Document right bottom corner coordinates
Declaration
Objective-C
@property (nonatomic, readonly) CGPoint rightBottom;Swift
var rightBottom: CGPoint { get } -
Document rotation angle
Declaration
Objective-C
@property (nonatomic, readonly) double angle;Swift
var angle: Double { get } -
Internal use parameter
Declaration
Objective-C
@property (nonatomic, readonly) double perspectiveTr;Swift
var perspectiveTr: Double { get } -
Internal use parameter
Declaration
Objective-C
@property (nonatomic, readonly) double objArea;Swift
var objArea: Double { get } -
Internal use parameter
Declaration
Objective-C
@property (nonatomic, readonly) double objIntAngleDev;Swift
var objIntAngleDev: Double { get } -
Internal use parameter
Declaration
Objective-C
@property (nonatomic, readonly) RGLCheckResult resultStatus;Swift
var resultStatus: CheckResult { get } -
Document format
Declaration
Objective-C
@property (nonatomic, readonly) RGLDocFormat docFormat;Swift
var docFormat: DocFormat { get } -
Index of the document page, whence the result is received
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger pageIndex;Swift
var pageIndex: Int { get } -
Resolution in dots per inch
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger dpi;Swift
var dpi: Int { get } -
Internal use parameter
Declaration
Objective-C
@property (nonatomic, readonly) NSInteger inverse;Swift
var inverse: Int { get } -
Unavailable
Undocumented
Declaration
Objective-C
- (instancetype _Nonnull)init NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;Swift
init(json: [AnyHashable : Any]) -
Undocumented
Declaration
Objective-C
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;Swift
class func initWithJSON(_ json: [AnyHashable : Any]) -> Self -
Undocumented
Declaration
Objective-C
- (NSDictionary *_Nonnull)jsonDictionary;Swift
func jsonDictionary() -> [AnyHashable : Any] -
Undocumented
Declaration
Objective-C
+ (NSDictionary *_Nonnull)dictionaryFromPoint:(CGPoint)point;Swift
class func dictionary(from point: CGPoint) -> [AnyHashable : Any]