wrapper to draw a textGrob based on BentoBox page coordinates and units

bb_plotText(
  label,
  x,
  y,
  params = NULL,
  just = "center",
  fontcolor = "black",
  fontsize = 12,
  rot = 0,
  check.overlap = FALSE,
  default.units = "inches",
  ...
)

Arguments

label

character or expression

x

A numeric vector or unit object specifying x-location

y

A numeric vector or unit object specifying y-location

params

an optional "bb_params" object space containing relevant function parameters

just

justification of text relative to its (x, y) location

fontcolor

fontcolor

fontsize

the size of text (in points)

rot

the angle to rotate the song

check.overlap

A logical value to indicate whether to check for and omit overlapping text.

default.units

A string indicating the default units to use if x or y are only given as numeric vectors