import { Rectangle } from "../common/vline"; import { HorizontalAnchor, VerticalAnchor, AutoSizeShapeToFitText } from "../common/enums"; /** * X座標を取得します。 */ export declare function getX(item: SVGTextElement): number; /** * X座標を設定します。 */ export declare function setX(item: SVGTextElement, value: number): void; /** * Y座標を取得します。 */ export declare function getY(item: SVGTextElement): number; /** * Y座標を設定します。 */ export declare function setY(item: SVGTextElement, value: number): void; /** * SVGTextElementのテキストを設定します。 * @param text 設定するテキスト * @param isLatexMode TrueのときLatex表記を使用します。 */ export declare function setTextContent(item: SVGTextElement, text: string, isLatexMode?: boolean): void; export declare function getMarginLeft(item: SVGTextElement): number; export declare function setMarginLeft(item: SVGTextElement, value: number): void; export declare function getMarginTop(item: SVGTextElement): number; export declare function setMarginTop(item: SVGTextElement, value: number): void; export declare function getMarginRight(item: SVGTextElement): number; export declare function setMarginRight(item: SVGTextElement, value: number): void; export declare function getMarginBottom(item: SVGTextElement): number; export declare function setMarginBottom(item: SVGTextElement, value: number): void; export declare function updateLocationOrGetUpdateFlag(text: SVGTextElement, rect: Rectangle, vAnchor: VerticalAnchor | null, hAnchor: HorizontalAnchor | null, isAutoSizeShapeToFitText: AutoSizeShapeToFitText, executeUpdate: boolean): boolean; export declare function updateLocation(text: SVGTextElement, rect: Rectangle, vAnchor: VerticalAnchor | null, hAnchor: HorizontalAnchor | null, isAutoSizeShapeToFitText: AutoSizeShapeToFitText): boolean; export declare function getUpdateFlagOfLocation(text: SVGTextElement, rect: Rectangle, vAnchor: VerticalAnchor | null, hAnchor: HorizontalAnchor | null, isAutoSizeShapeToFitText: AutoSizeShapeToFitText): boolean; export declare function getHeight(text: SVGTSpanElement | SVGTextElement | SVGTextPathElement): number; export declare function getWidth(text: SVGTSpanElement | SVGTextElement | SVGTextPathElement): number; export declare function getSize(svgText: SVGTextElement, showChecked?: boolean): Rectangle; export declare function getRegion(svgText: SVGTextElement): Rectangle;