/// import { GPathTextBox } from "./x_path_textbox"; import { ShapeObjectType, ConnectorType, Direction, VBAShapeType } from "../common/enums"; import * as GOptions from "./x_options"; export declare type _GShapeArrowCalloutAttributes = { arrowHeadWidth?: number; arrowHeadHeight?: number; arrowNeckWidth?: number; arrowNeckHeight?: number; direction?: Direction; }; export declare type GShapeArrowCalloutAttributes = GOptions.GTextBoxAttributes & _GShapeArrowCalloutAttributes; export declare class GArrowCallout extends GPathTextBox { constructor(svgbox: SVGElement | string); static constructAttributes(e: Element, removeAttributes?: boolean, output?: GShapeArrowCalloutAttributes): GShapeArrowCalloutAttributes; protected setBasicOption(option: GShapeArrowCalloutAttributes): void; setOption(option: GShapeArrowCalloutAttributes): 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; }