dimensions::fitWidthAndHeight($width, $height, $force = false)

Recalculates the dimensions by the width and height

  • $width (int)
    the max height
  • $height (int)
    the max width
  • return (object)