Data object TextChunk2
interface struct TextChunk2
Represents a chunk of on-screen text with associated metadata.
Fields
text
string — Required
The text in this chunk
bounds
A list of polygons describing the onscreen locations of each character in the textPoint[][]— Required
fontName
string — Required
The name of the font
fontSize
double — Required
The size of the font in points (1/72 inch)
attributes
string[] — Required
Formatting and style properties applied to the text. This property can
take either the standard attributes listed in the UCC Publisher API user
guide, or an app-specific text attribute.
language
com.amazon.apmf.Locale — Required
The language of the text
interpretationType
TextInterpretationType — Required
The interpretation type of the text
