the boundary of the shaded region will be used to generate a alpha mask so that the array conforms to the shape.
create_pattern_array(params, boundary_df, aspect_ratio, legend, type = "image")params/coords for a single element. named list or single row data.frame
mask for the pattern rendering
a aspect ratio of the plotting area.
is the pattern being created in the legend? default FALSE. Use this flag if you want different pattern drawing behviour for the legend.
type of image to fill with. 'image' for a file, placeholder for an iamge from a web placeholder site, gradient for an image magick gradient
rasterGrob