pushClipPath | R Documentation |
This function is intended to be used similarly to
grid.clip
. The only difference is that a non-rectangular
clipping region can be applied.
pushClipPath(clippath = NULL, label = NULL, name = NULL, draw = TRUE)
popClipPath()
clippath |
A graphics object, used as the definition of a clipping path. |
label |
A label for a defined reference. |
name |
A character identifier for the grob applying the clipping context. |
draw |
A logical value indicating whether graphics output should be produced. |
If label
is specified, uses a clipping path that has been
supplied to registerClipPath
. If clippath
is specified
it will be used as the new clipping context for the current
viewport. If both are specified, it will attempt to define the
clipping path with the given label, as well as adding the clipping
path as a clipping context for the current viewport.
popClipPath
is an alias for popContext
A pushClipPath
grob. The value is returned invisibly.
Simon Potter
registerClipPath
, grid.clipPath
,
popContext
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.