This topic has not yet been rated - Rate this topic

ShapeElement.ExcludeGeometryFromClipRegion Method

Excludes the geometry of a shape and its child shapes from the clipping region.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public void ExcludeGeometryFromClipRegion(
	Graphics graphics,
	Matrix matrix,
	GraphicsPath perimeter
)

Parameters

graphics
Type: System.Drawing.Graphics
The graphics object that contains the clipping region.
matrix
Type: System.Drawing.Drawing2D.Matrix
The matrix that is used to translate the graphic path for the geometry so that the matrix can locate the geometry in the clipping region.
perimeter
Type: System.Drawing.Drawing2D.GraphicsPath
The perimeter of the geometry, or null to recalculate the perimeter of the geometry.

Implements

IGeometryHost.ExcludeGeometryFromClipRegion(Graphics, Matrix, GraphicsPath)
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ