Back to Website
Show / Hide Table of Contents

Interface ITextMeasurer

Handler for measuring text.

Package: @aurigma/design-atoms-text

Methods

isTextCropped()

Indicates if text is cropped.

Declaration
isTextCropped(): boolean;
Returns
Type Description
boolean

measureText(scale, isExtendToBlackBox)

Measures text.

Declaration
measureText(scale: number, isExtendToBlackBox?: boolean): RectangleF;
Parameters
Type Name Description
number scale

scale.

boolean isExtendToBlackBox

indicates if extend to black box.

Returns
Type Description
RectangleF

measureTextFrame(useActiveText)

Measures the text frame.

Declaration
measureTextFrame(useActiveText: boolean): RectangleF;
Parameters
Type Name Description
boolean useActiveText

true if you want to use the currently active text, false if the item's original text.

Returns
Type Description
RectangleF
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback