yanchengPowerSupply/node_modules/mxdraw/dist/lib/MxModule/MxDbArrow/index.d.ts

25 lines
870 B
TypeScript

import McGiWorldDraw from "../McGiWorldDraw";
import MxDbShape from "../MxDbShape";
import drawMxDbArrow from "./draw";
declare class MxDbArrow extends MxDbShape {
static cmd: string;
static draw: typeof drawMxDbArrow;
/** 箭头图形 */
constructor();
/** 开始是否为尖角 */
isSharpCorner: boolean;
/** 内部偏移量 */
innerOffset: number;
/** 外部偏移量 */
outerOffset: number;
/** 顶部偏移量 */
topOffset: number;
startPoint: import("three").Vector3;
endPoint: import("three").Vector3;
worldDraw(pWorldDraw: McGiWorldDraw): void;
getArrowVertex(p1: THREE.Vector3, p2: THREE.Vector3, isSharpCorner?: boolean): import("three").Vector3[] | undefined;
getGripPoints(): THREE.Vector3[];
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
}
export default MxDbArrow;