Gimp.Image.prototype.get_layer_by_name
function get_layer_by_name(name: String): Gimp.Layer {
// Gjs wrapper for gimp_image_get_layer_by_name()
}
Find a layer with a given name in an image.
This procedure returns the layer with the given name in the specified image.
Since 2.8
- name
The name of the layer to find.
- Returns
The layer with the specified name.