Gimp.Unit.percent

function percent(): Gimp.Unit {
    // Gjs wrapper for gimp_unit_percent()
}
  

Returns the unique object representing percent dimensions relatively to an image.

This procedure returns the unit representing typographical points. The returned object is unique across the whole run.

Since 3.0

Returns

The unique percent unit.