The stripes are created as polygons so that when clipped to rects/polygons, the ends of the stripe are clipped correctly to the boundary.
create_stripes_sf(
angle,
spacing,
density,
xoffset = 0,
yoffset = 0,
aspect_ratio
)angle of orientation (degrees)
spacing in grid 'npc' coordinates. Usually in range [0, 1]
fill fraction. Number in range [0, 1]
offset the pattern creation origin.
offset the pattern creation origin.
aspect_ratio
`sf` multipolygon object