containBoxSize
See source codeContains the size within the given box size
function containBoxSize(
originalSize: BoxWidthHeight,
containBoxSize: BoxWidthHeight
): BoxWidthHeightParameters
| Name | Description |
|---|---|
| The size of the asset |
| The container size |
Returns
Adjusted size
Prev
centerSelectionAroundPointNext
copyAs