Class TextMeasurer
Handler for measuring text.
Constructors
(constructor)(tw)
Constructs a new instance of the TextMeasurer class
Declaration
constructor(tw: ITextWhizzHolder);
Parameters
Methods
isTextCropped()
Indicates if text is cropped.
Declaration
isTextCropped(): boolean;
Returns
measureText(scale, isExtendToBlackBox)
Declaration
measureText(scale: number, isExtendToBlackBox?: boolean): RectangleF;
Parameters
| Type |
Name |
Description |
| number |
scale |
|
| boolean |
isExtendToBlackBox |
|
Returns
measureTextFrames(useActiveText)
Declaration
measureTextFrames(useActiveText: boolean): RectangleF;
Parameters
| Type |
Name |
Description |
| boolean |
useActiveText |
|
Returns