is.Fill {xlsx} | R Documentation |
Create an Fill object.
Description
Create an Fill object, useful when working with cell styles.
Usage
is.Fill(x)
Fill(
foregroundColor = "lightblue",
backgroundColor = "lightblue",
pattern = "SOLID_FOREGROUND"
)
Arguments
x |
a Fill object, as returned by |
foregroundColor |
a character vector specifiying the foreground color.
Any color names as returned by |
backgroundColor |
a character vector specifiying the foreground color.
Any color names as returned by |
pattern |
a character vector specifying the fill pattern style. Valid
values come from constant |
Value
Fill
returns a list with components from the input argument,
and a class attribute "Fill". Fill objects are used when constructing cell
styles.
is.Fill
returns TRUE
if the argument is of class "Fill" and
FALSE
otherwise.
Author(s)
Adrian Dragulescu
See Also
CellStyle
for using the a Fill
object.
Examples
fill <- Fill()