RGLDocumentReaderSymbol

Objective-C

@interface RGLDocumentReaderSymbol : NSObject

/**
 * ASCII code of symbol
 */
@property(nonatomic, assign, readonly) NSInteger code;

/**
 * bounds result of the particular value
 */
@property(nonatomic, assign, readonly) CGRect rect;

/**
 * symbol recognition probability (0–100, %)
 */
@property(nonatomic, assign, readonly) NSInteger probability;

- (instancetype)init NS_UNAVAILABLE;
- (instancetype)initWithJSON:(NSDictionary *)json;
+ (instancetype)initWithJSON:(NSDictionary *)json;
- (NSDictionary *)jsonDictionary;

@end

Swift

class DocumentReaderSymbol : NSObject

Undocumented

  • ASCII code of symbol

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger code;

    Swift

    var code: Int { get }
  • bounds result of the particular value

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect rect;

    Swift

    var rect: CGRect { get }
  • symbol recognition probability (0–100, %)

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSInteger probability;

    Swift

    var probability: Int { get }
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype)init NS_UNAVAILABLE;
  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithJSON:(NSDictionary *)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype)initWithJSON:(NSDictionary *)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]