DrawingScaleResult
Interface in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Interface
TypeScript#
interface DrawingScaleResultA drawing's alignment with a new scale (docs/drawing-scale-design.md §3)
Members#
| Member | Kind | Description |
|---|---|---|
| factor | Property | How much larger the drawing is shown than with the alignment it had |
| matrix | Property | The new alignment: 16 numbers, column-major, mm (what SetAlignment and setModelAlignment take) |
| scale | Property | The uniform scale of the new alignment |
factor#
TypeScript#
factor: numberHow much larger the drawing is shown than with the alignment it had
matrix#
TypeScript#
matrix: (number)[]The new alignment: 16 numbers, column-major, mm (what SetAlignment and setModelAlignment take)
scale#
TypeScript#
scale: numberThe uniform scale of the new alignment