Developer's Documentation for free mobile OCR SDK

Documentation Menu

RTRCharInfo class

Extended information about the character‘s formatting.

Properties

 

Name

Type

Description

backgroundColor

NSInteger

The color of the background.

Note: The int value is calculated from the RGB triplet using the formula: (red value) + (256 x green value) + (65536 x blue value), where red value is the first triplet component, green value is the second triplet component, blue value is the third triplet component. For example, the int value of the color white equals 16777215.

foregroundColor

NSInteger

The color of the symbol.

quadrangle NSArray<NSValue*>*, read-only The four vertex points of the bounding quadrangle. The vertices are indexed clockwise starting from the bottom left.
Get the NSValue.CGPointValue property to obtain point coordinates as a CGPoint.
rect CGRect, read-only The bounding rectangle.