getBoxesForPlaceholders method

List<TextBox> getBoxesForPlaceholders ()

Returns a list of text boxes that enclose all placeholders in the paragraph.

The order of the boxes are in the same order as passed in through addPlaceholder.

Coordinates of the TextBox are relative to the upper-left corner of the paragraph, where positive y values indicate down.

Implementation

List<TextBox> getBoxesForPlaceholders() native 'Paragraph_getRectsForPlaceholders';