import Shape from "./Shape"; import Font from "./Font"; import Stroke from "./Stroke"; import Color from "./Color"; export default class Text extends Shape { fill: Color; stroke: Stroke; private _text; private _x; private _y; private _textAnchor; private _textLength; private _lengthAdjust; private _font; constructor(text: string); toString(): string; text: string; x: number; y: number; textLength: number; font: Font; textAnchor: "start" | "middle" | "end"; lengthAdjust: "spacing" | "spacingAndGlyphs"; }