bb_plotRect.Rd
wrapper to draw a rectGrob based on BentoBox page coordinates and units
bb_plotRect( x, y, width, height, just = "center", params = NULL, linecolor = "black", fill = NA, lwd = 1, lty = 1, alpha = 1, default.units = "inches", ... )
x | A numeric vector or unit object specifying x-location |
---|---|
y | A numeric vector or unit object specifying y-location |
width | A numeric vector or unit object specifying width |
height | A numeric vector or unit object specifying height |
just | The justification of the rectangle relative to its (x,y) location |
params | an optional "bb_params" object space containing relevant function parameters |
linecolor | line color |
fill | fill color |
lwd | line width |
lty | line type |
alpha | color transparency |
default.units | A string indicating the default units to use if x or y are only given as numeric vectors |