create a border properties object.
borderProperties(color = "black", style = "solid", width = 1) # S3 method for borderProperties chprop(object, color, style, width, ...) # S3 method for borderProperties print(x, ...) # S3 method for borderProperties as.character(x, ...)
color | border color - single character value (e.g. "#000000" or "black") |
---|---|
style | border style - single character value : "none" or "solid" or "dotted" or "dashed" |
width | border width - an integer value : 0>= value |
object |
|
... | further arguments - not used |
x |
|
Get a modified version of a borderProperties
with
chprop
.
alterFlexTable
, setFlexTableBorders
,
shortcut_properties
borderProperties()#> borderProperties{color: rgba(0,0,0,1.00) ;style: solid ;width: 1 ;}borderProperties(color="orange", style="solid", width=1)#> borderProperties{color: rgba(255,165,0,1.00) ;style: solid ;width: 1 ;}borderProperties(color="gray", style="dotted", width=1)#> borderProperties{color: rgba(190,190,190,1.00) ;style: dotted ;width: 1 ;}# update borderProperties -------- x = borderProperties() chprop(x, color="orange", style="dashed", width=1)#> borderProperties{color: rgba(255,165,0,1.00) ;style: dashed ;width: 1 ;}#> borderProperties{color: rgba(0,0,0,1.00) ;style: solid ;width: 5 ;}