The pattern
function is a function for generating a pattern in png format.
pattern(
type = "bricks",
density = 8,
pattern.line.size = 10,
color = "black",
background.color = "white",
pixel = 5,
res = 30
)
pattern types include: 'blank', 'bricks', 'vdashes', 'hdashes', 'crosshatch','dots', 'grid','hlines','nelines','nwlines','vlines','waves','Rsymbol_0' to 'Rsymbol_25', and unicode symbols.
a numeric number, the density for the lines/dots of a pattern.
a numeric value, the line size for the lines/dots of a pattern.
color for the lines/dots of pattern.
color to be filled in the background.
a numeric value, the pixel resolution of the pattern.
a numeric value, the pixel resolution of the pattern.
A ggplot object.
pattern
function generates a pattern in png format.