hatched.SpatialPolygons: Return a SpatialLinesDataframe as hatched area for a...

View source: R/hatched_SpatialPolygons.R

hatched.SpatialPolygonsR Documentation

Return a SpatialLinesDataframe as hatched area for a SpatialPolygons

Description

Return a SpatialLinesDataframe as hatched area for a SpatialPolygons

Usage

hatched.SpatialPolygons(x, density = 10, angle = 45, fillOddEven = FALSE)

Arguments

x

SpatialPolygons* from library sp

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

fillOddEven

logical controlling the polygon shading mode: see below for details. Default FALSE.


statnmap/HatchedPolygons documentation built on April 20, 2023, 7:55 p.m.