DrawingContext.PushClip Method (Geometry)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Pushes the specified clip region onto the drawing context.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract void PushClip(
	Geometry clipGeometry
)

Parameters

clipGeometry
Type: System.Windows.Media.Geometry

The clip region to apply to subsequent drawing commands.

The clip region applies to all subsequent drawing commands until it is removed by the Pop command.

.NET Framework
Available since 3.0
Return to top
Show: