Gimp.Unit.pixel

function pixel(): Gimp.Unit {
    // Gjs wrapper for gimp_unit_pixel()
}
  

Returns the unique object representing pixel unit.

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

Since 3.0

Returns

The unique pixel unit.