Learn R Programming

ggpattern (version 0.1.3)

create_pattern_circles: Create grob objects for the pattern elements within a boundary

Description

Create grob objects for the pattern elements within a boundary

Usage

create_pattern_circles(params, boundary_df, aspect_ratio, legend = FALSE)

create_pattern_crosshatch_via_sf( params, boundary_df, aspect_ratio, legend = FALSE )

create_pattern_none(params, boundary_df, aspect_ratio, legend = FALSE)

create_pattern_stripes_via_sf( params, boundary_df, aspect_ratio, legend = FALSE )

Arguments

params

params/coords for a single element. named list or single row data.frame

boundary_df

mask for the pattern rendering

aspect_ratio

a aspect ratio of the plotting area.

legend

is the pattern being created in the legend? default FALSE. Use this flag if you want different pattern drawing behviour for the legend.

Value

grid grob objects.