import type { Fill, TextLine, FontStyle, FontWeight, Text } from "@hylimo/diagram-common"; import type { LinearAnimatable } from "../features/animation/model.js"; import { SLayoutedElement } from "./sLayoutedElement.js"; /** * Text model element */ export declare class SText extends SLayoutedElement implements Text, LinearAnimatable { type: typeof Text.TYPE; readonly animatedFields: Set; /** * The text to display */ text: string; /** * The color of the text */ fill?: Fill; /** * The font family to use */ fontFamily: string; /** * Text size */ fontSize: number; /** * normal or bold weight */ fontWeight: FontWeight; /** * normal or italic style */ fontStyle: FontStyle; /** * The font feature settings to use, if any */ fontFeatureSettings?: string[]; /** * The underline to apply to the text, if any */ underline?: TextLine; /** * The strikethrough to apply to the text, if any */ strikethrough?: TextLine; } //# sourceMappingURL=sText.d.ts.map