Learn R Programming

openxlsx2 (version 1.10)

create_fill: Create fill pattern

Description

Create fill pattern

Usage

create_fill(
  gradientFill = "",
  patternType = "",
  bgColor = NULL,
  fgColor = NULL,
  ...
)

Arguments

gradientFill

complex fills

patternType

various: default is "none", but also "solid", or a color like "gray125"

bgColor

hex8 color with alpha, red, green, blue only for patternFill

fgColor

hex8 color with alpha, red, green, blue only for patternFill

...

...

See Also

wb_add_fill()

Other style creating functions: create_border(), create_cell_style(), create_colors_xml(), create_dxfs_style(), create_font(), create_numfmt(), create_tablestyle()