DrawingContext.PushClip Method (Geometry)

 

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: