Focus::ratio() Calculates the image ratio kirby/src/Image/Focus.php#L106 Focus::ratio(int $width, int $height): float Copy Parameters Name Type Default $width * int – $height * int – Return type float Parent class Kirby\Image\Focus