Gradient Fills | R Documentation |
A feature of SVG is that elements can be filled with a gradient that
is defined somewhere in the document. The purpose of the
registerGradientFill
function is to create a definition of a
gradient fill so that it can be referred to by grobs drawn by gridSVG.
registerGradientFill(label, gradient)
label |
A character identifier for a gradient fill. |
gradient |
A gradient object filled with gradient stops. See
|
None.
Simon Potter
linearGradient
, radialGradient
,
grid.gradientFill
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.