Skip to content

Kirby 5.2.1

$gravity->toPercentageString()

$gravity->toPercentageString(): string

Return type

string

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

Parent class

Kirby\Image\Gravity