Interface ITextLayout
interface ITextLayout
Extends com.amazon.apmf.IStandard
An interface that manages text layout in visual elements on the screen.
Methods
getDimensions()
Size getDimensions()
Retrieves the width and height of the text on the screen after layout step.
Returns
Size
A Size struct representing the dimensions of the text after layout step.
draw()
Renders the content on the specified canvas at the given origin point.voiddraw(ICanvas*canvas,Pointorigin)
Parameters
canvas
ICanvas* — Required
graphics canvas where the object will be drawn.
origin
Point — Required
The origin point on the canvas where the text will be positioned.

