
Dispatch fill-style for a multi-ring (hole-aware) region
Source:R/core-fill-styles.R
sketch_fill_multi.RdThe band counterpart of sketch_fill(): fills a region described by several
rings (outer pieces and holes) with one shared scan-line so holes are
excluded. Supports the line-based styles "hachure" and "cross_hatch";
"solid" returns NULL (painted by an even-odd polygon fill in the grob).
Any other style degrades to "hachure", since the scribble/dots/dashed
styles are defined per single ring.
Usage
sketch_fill_multi(
rings,
fill_style = "hachure",
hachure_gap = 0.1,
hachure_angle = 45,
fill_weight = 1,
roughness = 0.5,
bowing = 0,
seed = NULL
)Arguments
- rings
A list of rings (see
hachure_fill_multi()).- fill_style
Character: one of
"hachure","cross_hatch","zigzag","zigzag_line","dots","dashed","solid".- hachure_gap
Gap between fill lines (inches). Default 0.1.
- hachure_angle
Base fill angle (degrees). Default 45.
- fill_weight
Thickness weight (passed to caller for gpar). Default 1.
- roughness, bowing
Sketch params for fill lines. Defaults 0.5, 0.
- seed
Integer seed.
See also
Other sketch-core:
arrowhead(),
curve_fill(),
engrave_fill(),
engrave_ladder(),
hachure_fill(),
hachure_fill_multi(),
leader_path(),
repel_layout(),
rough_arc(),
rough_bezier(),
rough_ellipse(),
roughen_polyline(),
sketch_arrowheads(),
sketch_fill(),
spray_scatter(),
stroke_profile(),
stroke_ribbon(),
treemap_layout(),
wash_bleed(),
watercolor_wash(),
watercolor_wash_multi()