$dimensions->crop()
Crops the dimensions by width and height
Parameters
Name | Type | Default |
---|---|---|
$width * | int |
– |
$height | int |null |
null |
Return type
This method does not modify the existing $dimensions
object but returns a new object with the changes applied. Learn more →