[ Version ( since = "2.8" ) ]
public bool select_round_rectangle (ChannelOps operation, double x, double y, double width, double height, double corner_radius_x, double corner_radius_y)
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: context_set_antialias, context_set_feather, context_set_feather_radius.
| this |
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. |
|
TRUE on success. |