Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public Sub ExcludeGeometryFromClipRegion ( _
    graphics As Graphics, _
    matrix As Matrix, _
    perimeter As GraphicsPath _
)
public void ExcludeGeometryFromClipRegion(
    Graphics graphics,
    Matrix matrix,
    GraphicsPath perimeter
)
public:
virtual void ExcludeGeometryFromClipRegion(
    Graphics^ graphics, 
    Matrix^ matrix, 
    GraphicsPath^ perimeter
) sealed
abstract ExcludeGeometryFromClipRegion : 
        graphics:Graphics * 
        matrix:Matrix * 
        perimeter:GraphicsPath -> unit  
override ExcludeGeometryFromClipRegion : 
        graphics:Graphics * 
        matrix:Matrix * 
        perimeter:GraphicsPath -> unit
public final function ExcludeGeometryFromClipRegion(
    graphics : Graphics, 
    matrix : Matrix, 
    perimeter : GraphicsPath
)

Parameters

  • graphics
    Type: Graphics

    The graphics object that contains the clipping region.

  • matrix
    Type: 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: GraphicsPath

    The perimeter of the geometry, or null to recalculate the perimeter of the geometry.

Implements

IGeometryHost.ExcludeGeometryFromClipRegion(Graphics, Matrix, GraphicsPath)

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace