shrink


Description:

public static bool shrink (Image image, int steps)

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.

Parameters:

image

The image.

steps

Steps of shrink (in pixels).

Returns:

TRUE on success.