element_shadowtext: element_shadowtext

element_shadowtextR Documentation

element_shadowtext

Description

shadown text element for ggplot theme system

Usage

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
)

Arguments

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 black.

bg.color

the alias of bg.colour,

bg.r

background ratio of shadow text.

inherit.blank

whether inherit 'element_blank'

Value

element_shadowtext object

Author(s)

Guangchuang Yu and xmarti6@github


shadowtext documentation built on Sept. 11, 2024, 7:55 p.m.