Skip to content

Kirby 4.4.1

$dimensions->ratio()

Calculates and returns the ratio

$dimensions->ratio(): float

Return type

float

Parent class

Kirby\Image\Dimensions