borderProperties
From ReporteRs v0.8.8
by David Gohel
border properties object
create a border properties object.
Usage
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, ...)
Arguments
- 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
borderProperties
object to update- ...
further arguments - not used
- x
borderProperties
object to print
Details
Get a modified version of a borderProperties
with
chprop
.
See Also
Examples
# NOT RUN {
borderProperties()
borderProperties(color="orange", style="solid", width=1)
borderProperties(color="gray", style="dotted", width=1)
# update borderProperties --------
x = borderProperties()
chprop(x, color="orange", style="dashed", width=1)
chprop(x, width=5)
# }
Community examples
Looks like there are no examples yet.