polygonRingHolesLines: Get lines of one Polygons feature

View source: R/st_hatched_polygon.R

polygonRingHolesLinesR Documentation

Get lines of one Polygons feature

Description

Get lines of one Polygons feature

Usage

polygonRingHolesLines(
  geom,
  density = 0.5,
  angle = 45,
  ID = 1,
  fillOddEven = FALSE
)

Arguments

geom

An object of class sf POLYGON

density

the density of shading lines, in lines per inch. The default value of NULL means that no shading lines are drawn. A zero value of density means no shading nor filling whereas negative values and NA suppress shading (and so allow color filling).

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 FALSE.

Value

sf lines object


rpkgs/gg.layers documentation built on Sept. 14, 2024, 11:07 p.m.