Description Usage Arguments Examples
View source: R/gt_shadowtext.R
Place a shadow behind text (white default) Helper to make text more visible Credit: Greg Snow http://blog.revolutionanalytics.com/2009/05/make-text-stand-out-with-outlines.html
1 2 3 |
x |
X location |
y |
Y location |
labels |
text |
col |
Text color |
bg |
Background (shadow) color |
n_shadows |
Number of shadows to cast: deault is 12 |
1 2 | frame()
gt_shadowtext(x = .5, y = .5, labels = "text", col = "white", bg = "red")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.