Create a grob
ig_path(
x = c(0, 1, 1),
y = c(0, 0, 1),
id = NULL,
id.lengths = NULL,
pathId = NULL,
pathId.lengths = NULL,
rule = c("winding", "evenodd"),
default.units = getOption("ingrid.default.units", "npc"),
name = NULL,
gp = NULL,
vp = NULL,
col,
fill,
alpha,
lty,
lwd,
lex,
lineend,
linejoin,
linemitre,
fontsize,
cex,
fontfamily,
fontface,
lineheight,
mask,
clip,
layout,
layout.pos.row,
layout.pos.col
)
x,y location
A numeric vector used to separate locations in x and y into sub-objects. All locations with the same id belong to the same sub-object.
A numeric vector used to separate locations in x and y into sub-objects. Specifies consecutive blocks of locations which make up separate sub-objects.
A numeric vector used to separate locations in x and y into distinct objects. All locations with the same pathId belong to the same object.
A numeric vector used to separate locations in x and y into objects. Specifies consecutive blocks of locations which make up separate objects.
A character value specifying the fill rule: either "winding" or "evenodd".
getOption("ingrid.default.units", 'npc')
grob name. default: NULL
graphical parameter object created by grid::gpar()
or
ingrid::gp()
. If NULL (default), then a gpar
object
is created from the relevant arguments to this function i.e. fill
,
col
, etc
viewport object created by grid::viewport()
.
If NULL (default), then a viewport
object
is created from a limited subset of arguments to this function i.e. mask
,
clip
, etc
See documentation for gp()
See documentation for
grid::viewport()
Other grobs:
ig_bbox()
,
ig_bezier()
,
ig_circle()
,
ig_lines()
,
ig_null()
,
ig_points()
,
ig_polygon()
,
ig_polyline()
,
ig_raster()
,
ig_roundrect()
,
ig_segments()
,
ig_text()