keepAspectRatio()Maximizes the dimensions while keeping the same aspect ratio.
This function is valid in v2.0.0 to v2.24.3. This function has been downloaded 65 times.false
false-ish, the minimum dimensions will be found where at least one of the dimensions matches the corresponding target dimension. If true-ish, the maximum dimensions will be found where at least one of the dimensions matches the corresponding target dimension.{ height: 400, width: 320 }.