System::Drawing::Region::Complement 方法

Region::Complement(const Rectangle&) method

将当前对象表示的区域替换为由指定矩形定义且不与该区域相交的部分。

void System::Drawing::Region::Complement(const Rectangle &rect)
ParameterType描述
rectconst Rectangle&用于定义要补集的区域的矩形

另见

Region::Complement(const RectangleF&) method

将当前对象表示的区域替换为由指定矩形定义且不与该区域相交的部分。

void System::Drawing::Region::Complement(const RectangleF &rect)
ParameterType描述
rectconst RectangleF&用于定义要补集的区域的矩形

另见

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

将当前对象表示的区域替换为由指定路径定义且不与该区域相交的部分。

void System::Drawing::Region::Complement(const SharedPtr<Drawing2D::GraphicsPath> &path)
ParameterType描述
路径const SharedPtr<Drawing2D::GraphicsPath>&用于定义要补集的区域的路径

另见

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

将当前对象表示的区域替换为指定区域中不与该区域相交的部分。

void System::Drawing::Region::Complement(const SharedPtr<Region> &region)
ParameterType描述
区域const SharedPtr<Region>&要补集的区域

另见