printRcss: Display properties encoded in an Rcss object

Description Usage Arguments Examples

View source: R/Rcss.R

Description

Display properties encoded in an Rcss object, including any subclasses.

Usage

1
printRcss(Rcss, selector = NULL, verbose = FALSE)

Arguments

Rcss

style sheet object

selector

character string with name of selector to print

verbose

logical. If TRUE, function prints all information about the selector, including subclasses. If FALSE, function omits detailed information about subclasses.

Examples

1
2
3
4
5
6
# define a custom style
custom.style <- Rcss(text="points { pch:2; } points.A { pch: 3; }")

# printing details for a selector, concise and verbose
printRcss(custom.style, "points")
printRcss(custom.style, "points", verbose=TRUE)

tkonopka/Rcssplot documentation built on Jan. 21, 2021, 11:36 p.m.