SetClip()
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> ®ion, Drawing2D::CombineMode combineMode=Drawing2D::CombineMode::Replace)
Arguments
Parameter | Type | Description |
---|---|---|
region | const SharedPtr<Region>& | Specifies a region to combine |
combineMode | Drawing2D::CombineMode | Specifies the combining operation |
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)
Arguments
Parameter | Type | Description |
---|---|---|
rect | Rectangle | Specifies a region to combine |
combineMode | Drawing2D::CombineMode | Specifies the combining operation |
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)
Arguments
Parameter | Type | Description |
---|---|---|
rect | RectangleF | Specifies a region to combine |
combineMode | Drawing2D::CombineMode | Specifies the combining operation |
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)
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)
Arguments
Parameter | Type | Description |
---|---|---|
path | const SharedPtr<Drawing2D::GraphicsPath>& | Specifies a region to combine |
combineMode | Drawing2D::CombineMode | Specifies the combining operation |
See Also
- Enum CombineMode
- Typedef SharedPtr
- Class Region
- Class Graphics
- Class Rectangle
- Class RectangleF
- Class GraphicsPath
- Namespace System::Drawing
- Library Aspose.Slides