This function is modeled on the element_*
functions used in
ggplot2
to specify graphical properties in themes. It is primarily
used to create the value on the right-hand side of an assignment involving
the props<-
group of setter functions.
To display a table block means to highlight its rectangular region with
shading (as specified by fill
, a color, and fill_alpha
)
and/or a border (with thickness specified by border_size
, in mm,
and color border_color
). Blocks are drawn before entries and
hvrules, so the latter are drawn "on top" of blocks and will not be
hidden.
Quantitative property border_size
may be specified using the
ggplot2
function rel()
. This function indicates that the
value is to be interpreted as a multiplier to be applied to whatever the
current value of the property is. For example border_size=rel(1.2)
specifies that the thickness of the border around a block is to be
increased by 20% from its current value.