System::Drawing::Graphics::SetClip 方法

Graphics::SetClip(const SharedPtr<Drawing2D::GraphicsPath>&, Drawing2D::CombineMode) method

将当前 Graphics 对象所代表的绘图表面的裁剪区域设置为指定操作的结果,该操作将当前裁剪区域与指定的区域合并。

void System::Drawing::Graphics::SetClip(const SharedPtr<Drawing2D::GraphicsPath> &path, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterType描述
路径const SharedPtr<Drawing2D::GraphicsPath>&指定要合并的区域
combineModeDrawing2D::CombineMode指定合并操作

另见

Graphics::SetClip(const SharedPtr<Graphics>&, Drawing2D::CombineMode) method

未实现。

void System::Drawing::Graphics::SetClip(const SharedPtr<Graphics> &graphics, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)

另见

Graphics::SetClip(const SharedPtr<Region>&, Drawing2D::CombineMode) method

将当前 Graphics 对象所代表的绘图表面的裁剪区域设置为指定操作的结果,该操作将当前裁剪区域与指定的区域合并。

void System::Drawing::Graphics::SetClip(const SharedPtr<Region> &region, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterType描述
区域const SharedPtr<Region>&指定要合并的区域
combineModeDrawing2D::CombineMode指定合并操作

另见

Graphics::SetClip(Rectangle, Drawing2D::CombineMode) method

将当前 Graphics 对象所代表的绘图表面的裁剪区域设置为指定操作的结果,该操作将当前裁剪区域与指定的区域合并。

void System::Drawing::Graphics::SetClip(Rectangle rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterType描述
rect矩形指定要合并的区域
combineModeDrawing2D::CombineMode指定合并操作

另见

Graphics::SetClip(RectangleF, Drawing2D::CombineMode) method

将当前 Graphics 对象所代表的绘图表面的裁剪区域设置为指定操作的结果,该操作将当前裁剪区域与指定的区域合并。

void System::Drawing::Graphics::SetClip(RectangleF rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterType描述
rectRectangleF指定要合并的区域
combineModeDrawing2D::CombineMode指定合并操作

另见