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)
Parameter Type Description
rect RectangleF A 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)
Parameter Type Description
rect Rectangle A 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)
Parameter Type Description
path GraphicsPath A GraphicsPath that defines the new Region.

Exceptions

exception condition
ArgumentNullException path is null.

See Also