This wrapper sets the graphical parameters on the result to be those of the x argument.

igc_combine(
  x,
  y,
  op = c("intersection", "xor", "union", "minus"),
  gp = x$gp,
  name = NULL
)

igc_intersect(x, y, gp = x$gp, name = NULL)

igc_union(x, y, gp = x$gp, name = NULL)

igc_minus(x, y, gp = x$gp, name = NULL)

igc_xor(x, y, gp = x$gp, name = NULL)

Arguments

x, y

grobs, gtrees of polyclipgrob objects

op

operation. One of 'intersection', 'xor', 'union', 'minus'

gp

gpar settings. default x$gp

name

default NULL

See also

Other combinators: igc_invert(), igc_stack()