DrawingContext::Pop Method ()

 

Pops the last opacity mask, opacity, clip, effect, or transform operation that was pushed onto the drawing context.

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

public:
virtual void Pop() abstract

Once an operation is popped, it is no longer applied to subsequent drawing commands.

The following example shows the effect of the Pop command.

No code example is currently available or this language may not be supported.

The following illustration shows this example's output:

Rectangles drawn with different opacity values

.NET Framework
Available since 3.0
Return to top
Show: