gridExtra (version 0.8.5)

stextGrob: stextGrob

Description

shadow text

Usage

stextGrob(label, r = 0.1, 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(), vp = NULL)

Arguments

label
see textGrob
r
blur radius
x
see textGrob
y
see textGrob
just
see textGrob
hjust
see textGrob
vjust
see textGrob
rot
see textGrob
check.overlap
see textGrob
default.units
see textGrob
name
see textGrob
gp
see textGrob
vp
see textGrob

Value

  • gTree

Details

adds a blurred white version of a label below the text

Examples

Run this code
grid.rect(gp=gpar(fill="grey"))
stextGrob("test")

Run the code above in your browser using DataCamp Workspace