Vectorised version of rectGrob
rect_grob(
fill = "white",
col = "black",
lty = "solid",
lwd = 1,
cex = 1,
alpha = 1,
lineend = "round",
linejoin = "round",
linemitre = 10,
lex = 1,
name = NULL,
vp = NULL,
just = "centre",
hjust = 0.5,
vjust = 0.5,
width = unit(100, "mm"),
height = unit(100, "mm"),
x = unit(0.5, "npc"),
y = unit(0.5, "npc"),
default.units = "mm"
)a grob from the grid package.