gridExtra (version 0.9.1)

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

See Also

Other grob userlevel: arcTextGrob, barbedGrob, borderGrob, colorstripGrob, ebimageGrob, ellipseGrob, interleaven, ngonGrob, patternGrob, pixmapGrob, rpatternGrob, tableGrob, virtualGrob

Examples

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

Run the code above in your browser using DataCamp Workspace