Region

Region constructor (1 of 4)

Initializes a new Region.

public Region()

See Also


Region constructor (2 of 4)

Initializes a new Region from the specified RectangleF structure.

public Region(RectangleF rect)
ParameterTypeDescription
rectRectangleFA RectangleF structure that defines the interior of the new Region.

See Also


Region constructor (3 of 4)

Initializes a new Region from the specified Rectangle structure.

public Region(Rectangle rect)
ParameterTypeDescription
rectRectangleA Rectangle structure that defines the interior of the new Region.

See Also


Region constructor (4 of 4)

Initializes a new Region with the specified GraphicsPath.

public Region(GraphicsPath path)
ParameterTypeDescription
pathGraphicsPathA GraphicsPath that defines the new Region.

Exceptions

exceptioncondition
ArgumentNullExceptionpath is null.

See Also