Skip to content

Kirby 6.0.0

$svg->ratio()

Returns the ratio of the width and height

$svg->ratio(): float

Return type

float

Parent class

Kirby\Image\Svg