Skip to content

Kirby 5.3.2

$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