Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
dimensions::crop($width, $height)
Crops the dimensions by width and optionally by height
$width
(int)
$width
(int)
return
(Dimensions)
↑
Toolkit API overview
←
dimensions::__construct
→
dimensions::fit
↓
Back to Toolkit API section
Top