svg-engine
Version:
Create SVG files in Node.js
14 lines (13 loc) • 514 B
TypeScript
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;
}