System::Drawing::Graphics::SetClip method

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

Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.

void System::Drawing::Graphics::SetClip(const SharedPtr<Region> &region, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterTypeDescription
regionconst SharedPtr<Region>&Specifies a region to combine
combineModeDrawing2D::CombineModeSpecifies the combining operation

See Also

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

Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.

void System::Drawing::Graphics::SetClip(Rectangle rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterTypeDescription
rectRectangleSpecifies a region to combine
combineModeDrawing2D::CombineModeSpecifies the combining operation

See Also

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

Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the specified region.

void System::Drawing::Graphics::SetClip(RectangleF rect, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterTypeDescription
rectRectangleFSpecifies a region to combine
combineModeDrawing2D::CombineModeSpecifies the combining operation

See Also

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

NOT IMPLEMENTED.

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

See Also

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

Sets the clipping region of drawing surface represented by the current Graphics object to the result of the specified operation that combines the current clip region and the region specified by a graphics path.

void System::Drawing::Graphics::SetClip(const SharedPtr<Drawing2D::GraphicsPath> &path, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
ParameterTypeDescription
pathconst SharedPtr<Drawing2D::GraphicsPath>&Specifies a region to combine
combineModeDrawing2D::CombineModeSpecifies the combining operation

See Also