mf_shadow function

Plot a shadow

Plot a shadow

Plot the shadow of a polygon layer.

mf_shadow(x, col = "grey50", cex = 1, add = FALSE)

Arguments

  • x: an sf or sfc polygon object
  • col: shadow color
  • cex: shadow extent
  • add: whether to add the layer to an existing plot (TRUE) or not (FALSE)

Returns

x is (invisibly) returned.

Examples

mtq <- mf_get_mtq() mf_shadow(mtq) mf_map(mtq, add = TRUE)
  • Maintainer: Timothée Giraud
  • License: GPL (>= 3)
  • Last published: 2024-10-22