Draws one or more roughened ellipses whose centres are in npc [0,1] and
whose radii are npc fractions of the viewport (converted to device inches in
makeContent(), so a "circle" in data units may appear elliptical on a
non-square panel - matching ggplot2's coordinate semantics).
sketch_ellipse_grob(
x,
y,
rx,
ry,
roughness = 1,
n_passes = 2L,
seed = NULL,
fill_style = NULL,
hachure_angle = 45,
hachure_gap = 0.07,
fill_weight = 0.5,
fill_roughness = NULL,
fill_seed = NULL,
fill_gp = gpar(),
outline_gp = gpar(),
name = NULL,
vp = NULL
)A SketchEllipseGrob grob subclass.
Numeric npc centre coordinates (vectors).
Numeric npc radii (vectors, recycled to x).
Sketch parameters.
Fill parameters; set
fill_style = NULL or "solid" for outline only. "watercolor" paints
translucent stacked washes.
Roughness of the fill strokes. NULL (default) ties it
to the outline as roughness * 0.4; set a number to control the fill
texture independently of the outline.
Seed for the fill strokes. NULL (default) derives it from
seed; set an integer to vary the fill pattern without moving the outline.
gpar() for the fill lines.
gpar() for the rough outline stroke.
Passed to grid::gTree().
Other grob-layer:
sketch_arrow_grob(),
sketch_band_grob(),
sketch_callout_grob(),
sketch_dotplot_grob(),
sketch_engrave_grob(),
sketch_path_grob(),
sketch_polygon_grob(),
sketch_repel_grob(),
sketch_spray_grob(),
sketch_stroke_grob(),
sketch_wedge_grob()