Gimp.text_layer_resize
@accepts(Gimp.Layer, float, float)
@returns(bool)
def text_layer_resize(layer, width, height):
# Python wrapper for gimp_text_layer_resize()
Resize the box of a text layer.
This procedure changes the width and height of a text layer while keeping it as a text layer and not converting it to a bitmap like Gimp.Layer.resize would do.
Since 2.8
- layer
The text layer.
- width
The new box width in pixels.
- height
The new box height in pixels.
- Returns