[]
        
(Showing Draft Content)

ReplaceTextModel

Type Alias: ReplaceTextModel

type ReplaceTextModel = object;

Data model for the ReplaceText feature.

Type declaration

fontInfo

fontInfo: object;

Contains detailed information about font metrics and style.

fontInfo.font

font: string;

Font name.

fontInfo.fontDescent

fontDescent: number;

Font descent distance.

fontInfo.fontFamily

fontFamily: string | null;

Font family.

fontInfo.fontHeight

fontHeight: number;

Font height.

fontInfo.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.