Gimp.Image.select_round_rectangle

@accepts(Gimp.Image, Gimp.ChannelOps, float, float, float, float, float, float)
@returns(bool)
def select_round_rectangle(self, operation, x, y, width, height, corner_radius_x, corner_radius_y):
    # Python wrapper for gimp_image_select_round_rectangle()
  

Create a rectangular selection with round corners over the specified image;

This tool creates a rectangular selection with round corners over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask.

This procedure is affected by the following context setters: Gimp.context_set_antialias, Gimp.context_set_feather, Gimp.context_set_feather_radius.

Since 2.8

self

The image.

operation

The selection operation.

x

x coordinate of upper-left corner of rectangle.

y

y coordinate of upper-left corner of rectangle.

width

The width of the rectangle.

height

The height of the rectangle.

corner_radius_x

The corner radius in X direction.

corner_radius_y

The corner radius in Y direction.

Returns