RectangleMask.RectangleMask

RectangleMask(int, int, int, int)

Initializes a new instance of the RectangleMask class with the specified left-top point, width and height.

public RectangleMask(int x, int y, int width, int height)
ParameterTypeDescription
xInt32The x-coordinate of the left-top point of the selected area.
yInt32The y-coordinate of the left-top point of the selected area.
widthInt32Width of the selected area.
heightInt32Height of the selected area.

See Also


RectangleMask(Rectangle)

Initializes a new instance of the RectangleMask class with the specified rectangle.

public RectangleMask(Rectangle selectedArea)
ParameterTypeDescription
selectedAreaRectangleSelected area specified as a rectangle.

See Also