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

31 lines
941 B
TypeScript

import McGiWorldDraw from '../McGiWorldDraw';
import MxDbEntity from '../MxDbEntity';
import drawMxDbLeadComment from './draw';
/**
* MxDbLeadComment 引线文字标注
* */
declare class MxDbLeadComment extends MxDbEntity {
static cmd: string;
static draw: typeof drawMxDbLeadComment;
/** 标注点 */
point1: THREE.Vector3;
/** 文字显示位置 */
point2: THREE.Vector3;
/** 文字内容 */
text: string;
/** 文字高度 */
textHeight: number;
textWidth: number;
/** 文字大小,取屏幕像素绘图单位。 */
fixedSize: boolean;
getTypeName(): string;
create(): MxDbEntity;
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 MxDbLeadComment;