ShapeElement.ExcludeFromClipRegion(Graphics, Matrix, GraphicsPath) Method

Definition

Excludes this ShapeElement and its descendent ShapeElements from the clipping region in the specified Graphics object.

public:
 virtual void ExcludeFromClipRegion(System::Drawing::Graphics ^ graphics, System::Drawing::Drawing2D::Matrix ^ matrix, System::Drawing::Drawing2D::GraphicsPath ^ perimeter);
public virtual void ExcludeFromClipRegion (System.Drawing.Graphics graphics, System.Drawing.Drawing2D.Matrix matrix, System.Drawing.Drawing2D.GraphicsPath perimeter);
abstract member ExcludeFromClipRegion : System.Drawing.Graphics * System.Drawing.Drawing2D.Matrix * System.Drawing.Drawing2D.GraphicsPath -> unit
override this.ExcludeFromClipRegion : System.Drawing.Graphics * System.Drawing.Drawing2D.Matrix * System.Drawing.Drawing2D.GraphicsPath -> unit
Public Overridable Sub ExcludeFromClipRegion (graphics As Graphics, matrix As Matrix, perimeter As GraphicsPath)

Parameters

graphics
Graphics

Graphics object with valid clipping region

matrix
Matrix

The matrix is used to translate the ShapeElement's ShapeGeometry's graphics path to compensate for the parent-relative location of the ShapeElement.

perimeter
GraphicsPath

The perimeter path of this ShapeElement (For optimization purposes only; it can be null, in which case it will be recalculated.)

Applies to