Gimp.checks_get_shades

function checks_get_shades(type: Gimp.CheckType): [light: Number(guint8), dark: Number(guint8)] {
    // Gjs wrapper for gimp_checks_get_shades()
}
  

Retrieves the actual shades of gray to use when drawing a checkerboard for a certain Gimp.CheckType.

Since 2.2

type

the checkerboard type

light

return location for the light shade

dark

return location for the dark shade