View source: R/st_hatched_polygon.R
polygonRingHolesLines | R Documentation |
Get lines of one Polygons feature
polygonRingHolesLines(
geom,
density = 0.5,
angle = 45,
ID = 1,
fillOddEven = FALSE
)
geom |
An object of class sf POLYGON |
density |
the density of shading lines, in lines per inch. The
default value of |
angle |
the slope of shading lines, given as an angle in degrees (counter-clockwise). |
ID |
Number or string identifying the Polygon inside Polygons |
fillOddEven |
logical controlling the polygon shading mode: see
below for details. Default |
sf lines object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.