Skip to content

Kirby 6.0.0

$svg->viewBox()

Returns the viewBox as min-x, min-y, width, height

$svg->viewBox(): array|null

Return types

arrayornull

Parent class

Kirby\Image\Svg