Type Alias Viewer2dSettings
Viewer2dSettings: { camera?: { fitOnLoad?: boolean; }; canvas?: { autoSize?: boolean; }; keyBindings?: { keyup?: ((event: unknown) => void); rightMouseClick: ((event: unknown,
qid: Qid) => void); }; realtimeSettings?: { drawAdditionalLines?: boolean; drawLines?: boolean; drawTriangles?: boolean; drawWireframes?: boolean; }; rendering?: { antialias?: boolean; boundingBox?: boolean; }; styling?: { ifcTypes?: { DEFAULT?: { fill: number; stroke: number; }; }; selection?: { fill: number; stroke: number; }; }; textPlacement?: { maxWidth?: number; orientation?: "AUTO" | "HORIZONTAL" | "VERTICAL"; }; } Type declaration
Optional
camera?: {
fitOnLoad?: boolean;
}
Optional
fitOnLoad?: boolean
Optional
canvas?: {
autoSize?: boolean;
}
Optional
autoSize?: boolean
Optional
keyBindings?: {
keyup?: ((event: unknown) => void);
rightMouseClick: ((event: unknown, qid: Qid) => void);
}
Optional
keyup?: ((event: unknown) => void)
- (event): void
Returns void
rightMouseClick: ((event: unknown, qid: Qid) => void)
- (event, qid): void
Returns void
Optional
realtimeSettings?: {
drawAdditionalLines?: boolean;
drawLines?: boolean;
drawTriangles?: boolean;
drawWireframes?: boolean;
}
Optional
drawAdditionalLines?: boolean
Optional
drawLines?: boolean
Optional
drawTriangles?: boolean
Optional
drawWireframes?: boolean
Optional
rendering?: {
antialias?: boolean;
boundingBox?: boolean;
}
Optional
antialias?: boolean
Optional
boundingBox?: boolean
Optional
styling?: {
ifcTypes?: {
DEFAULT?: {
fill: number;
stroke: number;
};
};
selection?: {
fill: number;
stroke: number;
};
}
Optional
ifcTypes?: {
DEFAULT?: {
fill: number;
stroke: number;
};
}
Optional
DEFAULT?: {
fill: number;
stroke: number;
}
fill: number
stroke: number
Optional
selection?: {
fill: number;
stroke: number;
}
fill: number
stroke: number
Optional
textPlacement?: {
maxWidth?: number;
orientation?: "AUTO" | "HORIZONTAL" | "VERTICAL";
}
Optional
maxWidth?: number
Optional
orientation?: "AUTO" | "HORIZONTAL" | "VERTICAL"
2D Viewer Settings