import { ZPathTextBox } from "./z_path_textbox"; import { ShapeObjectType, ConnectorType, Direction, VBAShapeType } from "../common/enums"; import * as GOptions from "./z_options"; export type _ZShapeArrowCalloutAttributes = { arrowHeadWidth?: number; arrowHeadHeight?: number; arrowNeckWidth?: number; arrowNeckHeight?: number; direction?: Direction; }; export type ZShapeArrowCalloutAttributes = GOptions.ZTextBoxAttributes & _ZShapeArrowCalloutAttributes; export declare class ZArrowCallout extends ZPathTextBox { constructor(svgbox: SVGElement | string); initializeSetBasicOption(source: SVGElement): void; get type(): ShapeObjectType; get arrowNeckWidth(): number; set arrowNeckWidth(value: number); get arrowNeckHeight(): number; set arrowNeckHeight(value: number); get arrowHeadWidth(): number; set arrowHeadWidth(value: number); get arrowHeadHeight(): number; set arrowHeadHeight(value: number); get direction(): Direction; set direction(value: Direction); get topExtraLength(): number; get leftExtraLength(): number; get rightExtraLength(): number; get bottomExtraLength(): number; /** * 矢印部分を除いた図形の高さを表します。 */ protected get boxHeight(): number; protected get boxWidth(): number; update(): void; get shape(): VBAShapeType; /** * VBAコードでのこの図形を表すShape図形のVBAAdjustmentsプロパティを表します。 * 第一要素は矢印の首の幅() * 第二要素は矢印の頭の幅 * @returns VBAAdjustments値の配列。 */ protected get VBAAdjustments(): number[]; /** * 接続部分の座標を返します。 * @param type * @param x * @param y */ getContactPosition(type: ConnectorType, x: number, y: number): [number, number]; getContactAutoPosition(x: number, y: number): ConnectorType; }