Convert a bdf_str object into grid grob object

bdfGrob(
  bdf,
  text,
  x = unit(0.5, "npc"),
  y = unit(0.5, "npc"),
  hjust = NULL,
  vjust = NULL,
  rot = 0,
  default.units = "points",
  name = NULL,
  gp = NULL,
  size = 2,
  shrink = 0.9,
  wrap = FALSE,
  width = 12,
  col = "black",
  fill = "black",
  alpha,
  lty,
  lwd,
  lex,
  lineend,
  linejoin,
  linemitre,
  fontsize,
  cex,
  fontfamily,
  fontface,
  lineheight
)

Arguments

bdf

bdf font

text

string

x, y, hjust, vjust, rot, default.units, name, gp, size, shrink

other

wrap

use strwrap() to wrap text into lines? Default: TRUE

width

number of characters to use when wrap = TRUE. default: 12

col, fill, alpha, lty, lwd, lex, lineend, linejoin, linemitre, fontsize, cex, fontfamily, fontface, lineheight

See documentation for grid::gpar()