[]
        
(Showing Draft Content)

ReplaceTextModel

Type Alias: ReplaceTextModel

type ReplaceTextModel = object;

Data model for the ReplaceText feature.

Properties

fontInfo

fontInfo: object;

Contains detailed information about font metrics and style.

font

font: string;

Font name.

fontDescent

fontDescent: number;

Font descent distance.

fontFamily

fontFamily: string | null;

Font family.

fontHeight

fontHeight: number;

Font height.

scale

scale: number;

Text scale.


newText

newText: string;

The new text to be inserted.


selectedCoords

selectedCoords: SelectedTextCoordinates;

Exact coordinates of the text to be replaced.


selectedText

selectedText: string;

The text that will be replaced.