shadowtextGrob {shadowtext} | R Documentation |
shadowtextGrob
Description
create and draw text
Usage
shadowtextGrob(
label,
x = unit(0.5, "npc"),
y = unit(0.5, "npc"),
just = "centre",
hjust = NULL,
vjust = NULL,
rot = 0,
check.overlap = FALSE,
default.units = "npc",
name = NULL,
gp = gpar(col = "white"),
vp = NULL,
bg.colour = "black",
bg.r = 0.1
)
grid.shadowtext(
label,
x = unit(0.5, "npc"),
y = unit(0.5, "npc"),
just = "centre",
hjust = NULL,
vjust = NULL,
rot = 0,
check.overlap = FALSE,
default.units = "npc",
name = NULL,
gp = gpar(col = "white"),
vp = NULL,
bg.colour = "black",
bg.r = 0.1,
draw = TRUE
)
Arguments
label |
text labels |
x |
x position |
y |
y position |
just |
The justification of the text, can be 'left', 'right', 'center', 'bottom' and 'top' |
hjust |
horizontal adjustment |
vjust |
vertical adjustment |
rot |
angle to rotate the text |
check.overlap |
whether check for and omit overlapping text |
default.units |
default unit of x and y |
name |
identifier |
gp |
gpar object |
vp |
viewport object |
bg.colour |
background color of shadow text |
bg.r |
background ratio of shadow text |
draw |
whether draw the grob |
Value
grob object
Author(s)
guangchuang yu
[Package shadowtext version 0.1.4 Index]