containBoxSize
Public function
Contains the size within the given box size
Signature
function containBoxSize(
originalSize: BoxWidthHeight,
containBoxSize: BoxWidthHeight
): BoxWidthHeight
Parameters
| Name | Description |
|---|---|
| The size of the asset |
| The container size |
Returns
BoxWidthHeight
Adjusted size
Source

