element_shadowtext | R Documentation |
shadown text element for ggplot theme system
element_shadowtext(
family = NULL,
face = NULL,
colour = NULL,
size = NULL,
hjust = NULL,
vjust = NULL,
angle = NULL,
lineheight = NULL,
color = NULL,
margin = NULL,
debug = NULL,
bg.colour = "black",
bg.color = NULL,
bg.r = 0.1,
inherit.blank = FALSE
)
family |
Font family |
face |
Font face ("plain", "italic", "bold", "bold.italic") |
colour |
text colour |
size |
text size in pts |
hjust |
horizontal justification (in [0, 1]) |
vjust |
vertical justification (in [0, 1]) |
angle |
text angle |
lineheight |
line height |
color |
aliase to colour |
margin |
margins around the text, see also 'margin()' for more details |
debug |
if 'TRUE', aids visual debugging by drawing a solic rectangle behind the complete text area, and a point where each label is anchored. |
bg.colour |
the background colour of text, default is |
bg.color |
the alias of bg.colour, |
bg.r |
background ratio of shadow text. |
inherit.blank |
whether inherit 'element_blank' |
element_shadowtext object
Guangchuang Yu and xmarti6@github
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.