borderProperties: border properties object

Description Usage Arguments Details See Also Examples

View source: R/borderProperties.R

Description

create a border properties object.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
borderProperties(color = "black", style = "solid", width = 1)

## S3 method for class 'borderProperties'
chprop(object, color, style, width, ...)

## S3 method for class 'borderProperties'
print(x, ...)

## S3 method for class '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

alterFlexTable, setFlexTableBorders, shortcut_properties

Examples

1
2
3
4
5
6
7
8
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)

ReporteRs documentation built on April 1, 2018, 12:06 p.m.