Gimp.Selection.shrink
function shrink(image: Gimp.Image, steps: Number(gint)): Boolean {
// Gjs wrapper for gimp_selection_shrink()
}
Shrink the image's selection
This procedure shrinks the selection. Shrinking involves trimming the existing selection boundary on all sides by the specified number of pixels.
- image
The image.
- steps
Steps of shrink (in pixels).
- Returns
TRUE on success.