ITextMeasurer
Interfaces
ITextMeasurer
Handler for measuring text.
Methods
isTextCropped()
isTextCropped(): boolean;
Indicates if text is cropped.
Returns
boolean
measureText()
measureText(scale, isExtendToBlackBox?): RectangleF;
Measures text.
Parameters
| Parameter | Type | Description |
|---|---|---|
scale | number | scale. |
isExtendToBlackBox? | boolean | indicates if extend to black box. |
Returns
RectangleF
measureTextFrames()
measureTextFrames(useActiveText): RectangleF;
Measures the text frame.
Parameters
| Parameter | Type | Description |
|---|---|---|
useActiveText | boolean | true if you want to use the currently active text, false if the item's original text. |
Returns
RectangleF