These data/functions are Deprecated in this release of ggpattern, they will be marked as Defunct and removed in a future version.

convert_polygon_df_to_polygon_grob(
  polygon_df,
  default.units = "npc",
  gp = gpar()
)

convert_polygon_df_to_polygon_sf(polygon_df, buffer_dist = 0)

convert_polygon_sf_to_polygon_df(mp)

Arguments

polygon_df

A polygon_df object

default.units

See grid::polygonGrob().

gp

See grid::polygonGrob().

buffer_dist

See sf::st_buffer().

mp

A sf package polygon object