GimpUi.ColorArea.prototype.has_alpha

function has_alpha(): Boolean {
    // Gjs wrapper for gimp_color_area_has_alpha()
}
  

Checks whether the area shows transparency information. This is determined via the area's GimpUi.ColorAreaType.

Returns

true if area shows transparency information, false otherwise.