❌ Kirby 2 no longer actively supported. 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