Create an Fill object, useful when working with cell styles.
Fill(foregroundColor="lightblue", backgroundColor="lightblue",
pattern="SOLID_FOREGROUND")is.Fill(x)
a character vector specifiying the foreground
color. Any color names as returned by
colors
can be used. Or, a hex character,
e.g. "#FF0000" for red. For Excel 95
workbooks, only a subset of colors is available, see the constant
INDEXED_COLORS_
.
a character vector specifiying the foreground
color. Any color names as returned by
colors
can be used. Or, a hex character,
e.g. "#FF0000" for red. For Excel 95
workbooks, only a subset of colors is available, see the constant
INDEXED_COLORS_
.
a character vector specifying the fill pattern style.
Valid values come from constant FILL_STYLES_
.
a Fill object, as returned by Fill
.
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.
CellStyle
for using the a Fill
object.
# NOT RUN {
fill <- Fill()
# }
Run the code above in your browser using DataLab