System::Drawing::Region::Intersect method

Region::Intersect(const Rectangle&) method

Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified rectangle.

void System::Drawing::Region::Intersect(const Rectangle &rect)
ParameterTypeDescription
rectconst Rectangle&A rectangle that defines a region to intersect this region with

See Also

Region::Intersect(const RectangleF&) method

Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified rectangle.

void System::Drawing::Region::Intersect(const RectangleF &rect)
ParameterTypeDescription
rectconst RectangleF&A rectangle that defines a region to intersect this region with

See Also

Region::Intersect(const SharedPtr<Drawing2D::GraphicsPath>&) method

Replaces the region represented by the current object with the result of intersection of this region and a region defined by the specified path.

void System::Drawing::Region::Intersect(const SharedPtr<Drawing2D::GraphicsPath> &path)
ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&A path that defines a region to intersect this region with

See Also

Region::Intersect(const SharedPtr<Region>&) method

Replaces the region represented by the current object with the result of intersection of this region and the specified region.

void System::Drawing::Region::Intersect(const SharedPtr<Region> &region)
ParameterTypeDescription
regionconst SharedPtr<Region>&A region to intersect this region with

See Also