bdfGrob: Convert a 'bdf_str' object into grid grob object

Description Usage Arguments

View source: R/grob-bdf.R

Description

Convert a bdf_str object into grid grob object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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()


coolbutuseless/bdftools documentation built on Dec. 19, 2021, 6:03 p.m.