UNPKG

svg-engine

Version:
14 lines (13 loc) 514 B
import { SVGInstance } from "../../../browser/instance/SVGInstance.js"; export declare class TextAttributes extends SVGInstance { text(): string | null; text(text: string): this; textAlign(): string | null; textAlign(position: "left" | "center" | "right"): this; textAnchor(): string | null; textAnchor(textAnchor: "start" | "middle" | "end"): this; dx(): string | number | null; dx(dx: string | number): this; dy(): string | number | null; dy(dy: string | number): this; }