popContext
) is popped.
clipPath(grob)
registerClipPath(label, clippath)
clipPath
object produced by clipPath
that
defines a clipping path region.
vp
specified).Most grobs can be used for clipping but there are some limitations on what will actually be used for clipping. In general though, anything that is drawn as the clipping path will have the union of its drawn regions become the new region that the current viewport (or grob) will clip to.
The limitations are as follows:
textGrob
, only character labels will be
used, no plotmath
expressions will be used.
pointGrob
s are able to be used for clipping.
popContext
, grid.clipPath
,
pushClipPath
, grid.clip