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

36 lines
1.1 KiB
TypeScript

import McGiWorldDraw from '../McGiWorldDraw';
import MxDbEntity from '../MxDbEntity';
import drawMxDbRectBoxLeadComment from './draw';
/**
* MxDbRectBoxLeadComment 引线审图标注
* */
declare class MxDbRectBoxLeadComment extends MxDbEntity {
static cmd: string;
static draw: typeof drawMxDbRectBoxLeadComment;
/** 云线矩形的对角点1 */
point1: THREE.Vector3;
/** 云线矩形的对角点2 */
point2: THREE.Vector3;
/** 要标注的内容位置 */
point3: THREE.Vector3;
/** 要显示的文字内容*/
text: string;
/**文字高度*/
textHeight: number;
/** 云线的半圆弧半径 */
radius: number;
textWidth: number;
/** 文字大小,取屏幕像素绘图单位。 */
fixedSize: boolean;
getTypeName(): string;
create(): MxDbEntity;
getCloudLine(): any;
worldDraw(pWorldDraw: McGiWorldDraw): void;
getGripPoints(): Array<THREE.Vector3>;
moveGripPointsAt(index: number, offset: THREE.Vector3): boolean;
dwgIn(obj: any): boolean;
dwgOut(obj: any): object;
protected onViewChange(): boolean;
}
export default MxDbRectBoxLeadComment;