mf_shadow: Plot a shadow

View source: R/mf_shadow.R

mf_shadowR Documentation

Plot a shadow

Description

Plot the shadow of a polygon layer.

Usage

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)

Value

x is (invisibly) returned.

Examples

mtq <- mf_get_mtq()
mf_shadow(mtq)
mf_map(mtq, add = TRUE)

mapsf documentation built on Nov. 21, 2023, 5:09 p.m.