# Gimp.Image.prototype.select_round_rectangle

    function select_round_rectangle(operation: Gimp.ChannelOps, x: Number(gdouble), y: Number(gdouble), width: Number(gdouble), height: Number(gdouble), corner_radius_x: Number(gdouble), corner_radius_y: Number(gdouble)): Boolean {
        // Gjs 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

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

  TRUE on success.