scaleAlignmentAbout
Function in @bimworks/viewercommon.
API catalogue · @bimworks/viewercommon · Function
TypeScript#
function scaleAlignmentAboutMembers#
| Member | Kind | Description |
|---|---|---|
| scaleAlignmentAbout | Method | The alignment scaled by factor about the raw model point pivot (mm), which stays where it is shown; null for a factor that is not positive |
scaleAlignmentAbout#
TypeScript#
scaleAlignmentAbout(alignment: ArrayLike<number> | null, pivot: ArrayLike<number>, factor: number): DrawingScaleResult | nullThe alignment scaled by factor about the raw model point pivot (mm), which stays where it is shown; null for a factor that is not positive
Parameters#
| Name | Type | Description |
|---|---|---|
alignment |
ArrayLike<number> | null |
|
pivot |
ArrayLike<number> |
|
factor |
number |