stextGrob-deprecated: Draw Shadow Text

stextGrob-deprecatedR Documentation

Draw Shadow Text

Description

Create and draw shadow text by wrapping a textual expression into a colored framing.

Usage

stextGrob(label, x = unit(0.5, "npc"), y = unit(0.5, "npc")
, col = "white", fill = "black", r = 0.1, gp = gpar(), vp = NULL
, name = NULL, ...)

Arguments

label

A character or expression vector, see textGrob.

x, y

Horizontal and vertical text position as unit objects passed to grid.text.

r

Blur radius of colored framing as numeric.

col, fill

Framing and fill color passed to gpar.

name, gp, vp

Graphical parameters passed to gTree.

...

Additional arguments passed to grid.text.

Value

A text grob created by gTree.

Author(s)

Baptiste Auguie, Florian Detsch

References

https://rdrr.io/github/baptiste/gridplot/src/R/tmatrix.r (accessed on 04 June 2018).

See Also

Rsenal-deprecated


environmentalinformatics-marburg/Rsenal documentation built on July 28, 2023, 6:09 a.m.