create a border properties object.
Usage
fp_border(color = "black", style = "solid", width = 1)
# S3 method for fp_border
update(object, color, style, width, ...)
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
fp_border object
- ...
further arguments - not used
Examples
fp_border()
#> line: color: black, width: 1, style: solid
fp_border(color="orange", style="solid", width=1)
#> line: color: orange, width: 1, style: solid
fp_border(color="gray", style="dotted", width=1)
#> line: color: gray, width: 1, style: dotted
# modify object ------
border <- fp_border()
update(border, style="dotted", width=3)
#> line: color: black, width: 3, style: dotted