Partager via


IGeometryHost.ExcludeGeometryFromClipRegion Method

Definition

Excludes from the clipping region this geometry, including geometries of descendant IGeometryHost objects.

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

Parameters

graphics
Graphics

Graphics object with valid clipping region.

matrix
Matrix

The matrix used to translate the geometry's graphics path to compensate for the parent-relative location of the geometry's corresponding diagram item.

perimeter
GraphicsPath

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

Applies to