popContext: Leaving A Modified Viewport Context

Description Usage Arguments Details Value Author(s) See Also

View source: R/clipmask.R

Description

A modified viewport context is where the appearance of grobs is no longer determined solely by the grob itself and the viewport into which they're drawn. This can occur when applying clipping paths and opacity masks, which modify the appearance of anything drawn after they have been applied. This function should be used when attempting to stop the effect of a modified viewport context (e.g. to stop clipping to paths).

Usage

1
popContext(n = 1)

Arguments

n

The number of contexts to pop. A warning will be given when n is greater than the number that has been applied.

Details

Popping a context can produce a warning. In this case it is recommended that the context "pushing" and "popping" be revised to have matching pairs of pushes and pops.

Value

None.

Author(s)

Simon Potter

See Also

grid.clipPath and grid.mask


gridSVG documentation built on April 28, 2020, 9:05 a.m.