DrawingContext.PushClip(Geometry) Method

Definition

Pushes the specified clip region onto the drawing context.

public:
 abstract void PushClip(System::Windows::Media::Geometry ^ clipGeometry);
public abstract void PushClip (System.Windows.Media.Geometry clipGeometry);
abstract member PushClip : System.Windows.Media.Geometry -> unit
Public MustOverride Sub PushClip (clipGeometry As Geometry)

Parameters

clipGeometry
Geometry

The clip region to apply to subsequent drawing commands.

Remarks

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

Applies to