Const
Returns a Dimensions where the longest length of dimensions will be equal to the shortest length of to. The shortest length of dimensions will be proportionally scaled to match the aspect ratio of dimensions.
Dimensions
dimensions
to
#cropFit()
Returns a
Dimensionswhere the longest length ofdimensionswill be equal to the shortest length ofto. The shortest length ofdimensionswill be proportionally scaled to match the aspect ratio ofdimensions.