import View from './view'; import { Tspan, G } from '@svgdotjs/svg.js'; import FontInfo from '../utils/fontInfo'; import Size from '../utils/size'; import Bounds from '../utils/bounds'; import Position from '../utils/position'; import TitleLayoutWorker from './layoutEngine/titleLayoutWorker'; export default abstract class TextView extends View { private _text; private _textFn; textFnDirty: boolean; private _textSize; private _textPosition; textPositionDirty: boolean; private readonly _svg; private _titleText; fontInfo: FontInfo; private _bounds; constructor(contentName: string); set text(text: string); get text(): string; set textFn(textFn: (tspan: Tspan) => void); get textFn(): (tspan: Tspan) => void; set textSize(textSize: Size); get textSize(): Size; get bounds(): Bounds; set textPosition(textPosition: Position); get textPosition(): Position; render(parent: View): void; get content(): G; get layoutWorker(): TitleLayoutWorker; }