ImageMask.Crop

Crop(Rectangle)

Crops mask with the specified rectangle.

public abstract ImageMask Crop(Rectangle rectangle)
ParameterTypeDescription
rectangleRectangleThe specified rectangle.

Return Value

An ImageMask.

See Also


Crop(Size)

Crops mask with the specified size.

public ImageMask Crop(Size size)
ParameterTypeDescription
sizeSizeThe specified size.

Return Value

An ImageMask.

See Also


Crop(int, int)

Crops mask with the specified width and height.

public ImageMask Crop(int width, int height)
ParameterTypeDescription
widthInt32The specified width.
heightInt32The specified height.

Return Value

An ImageMask.

See Also