Function: getSelectionBoxInPixels
▸ getSelectionBoxInPixels(__namedParameters): Object
This takes the bounds (in pixels) and the selection (in percentage) and returns the pixel size and position of the selection within the bounds.
Parameters
| Name | Type |
|---|---|
__namedParameters | Object |
__namedParameters.bounds | Bounds |
__namedParameters.selection | Selection |
Returns
Object
| Name | Type |
|---|---|
height | number |
width | number |
x | number |
y | number |
Defined in
packages/ida-framework/src/features/subselectionBox/logic.ts:38