System::Drawing::Region::Exclude 方法

Region::Exclude(const Rectangle&) method

将当前对象表示的区域替换为从中排除指定矩形定义的区域后的结果。

void System::Drawing::Region::Exclude(const Rectangle &rect)
ParameterType描述
rectconst Rectangle&定义要排除的区域的矩形

另见

Region::Exclude(const RectangleF&) method

将当前对象表示的区域替换为从中排除指定矩形定义的区域后的结果。

void System::Drawing::Region::Exclude(const RectangleF &rect)
ParameterType描述
rectconst RectangleF&定义要排除的区域的矩形

另见

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

将当前对象表示的区域替换为从中排除指定路径定义的区域后的结果。

void System::Drawing::Region::Exclude(const SharedPtr<Drawing2D::GraphicsPath> &path)
ParameterType描述
路径const SharedPtr<Drawing2D::GraphicsPath>&定义要排除的区域的路径

另见

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

将当前对象表示的区域替换为从中排除指定区域后的结果。

void System::Drawing::Region::Exclude(const SharedPtr<Region> &region)
ParameterType描述
区域const SharedPtr<Region>&要排除的区域

另见