Skip to content

Kirby 5.6.3

$svg->hasNaturalSize()

Whether the SVG sets its own absolute width or height

$svg->hasNaturalSize(): bool

Return type

bool

This method modifies the existing $svg object it is applied to and returns it again.

Parent class

Kirby\Image\Svg