@mlightcad/graphic-interface
Version:
The graphic-interface package provides the graphics interface for controlling how AutoCAD entities are displayed on screen. This package offers a simplified API compared to AutoCAD ObjectARX's AcGi classes, making it more developer-friendly while maintain
51 lines • 1.38 kB
TypeScript
import { AcGePoint2d, AcGePoint3d } from '@mlightcad/geometry-engine';
export declare enum AcGiRenderMode {
OPTIMIZED_2D = 0,// classic 2D
WIREFRAME = 1,
HIDDEN_LINE = 2,
FLAT_SHADED = 3,
GOURAUD_SHADED = 4,
FLAT_SHADED_WITH_WIREFRAME = 5,
GOURAUD_SHADED_WITH_WIREFRAME = 6
}
export declare enum AcGiOrthographicType {
NON_ORTHOGRAPHIC = 0,
TOP = 1,
BOTTOM = 2,
FRONT = 3,
BACK = 4,
LEFT = 5,
RIGHT = 6
}
export declare enum AcGiDefaultLightingType {
ONE_DISTANT_LIGHT = 0,
TWO_DISTANT_LIGHTS = 1
}
export interface AcGiView {
center: AcGePoint2d;
viewDirectionFromTarget: AcGePoint3d;
viewTarget: AcGePoint3d;
lensLength: number;
frontClippingPlane: number;
backClippingPlane: number;
viewHeight: number;
viewTwistAngle: number;
frozenLayers: string[];
styleSheet: string;
renderMode: AcGiRenderMode;
viewMode: number;
ucsIconSetting: number;
ucsOrigin: AcGePoint3d;
ucsXAxis: AcGePoint3d;
ucsYAxis: AcGePoint3d;
orthographicType: AcGiOrthographicType;
shadePlotSetting: number;
shadePlotObjectId?: string;
visualStyleObjectId?: string;
isDefaultLightingOn: boolean;
defaultLightingType: AcGiDefaultLightingType;
brightness: number;
contrast: number;
ambientColor?: number;
}
//# sourceMappingURL=AcGiView.d.ts.map