Skip to contents

The intersection (AND) of two VMobject shapes. Produces the area covered by both shapes. Requires the polyclip package.

Super classes

manimR::MObject -> manimR::VMobject -> Intersection

Methods

Inherited methods


Method new()

Create an intersection of two shapes

Usage

Intersection$new(
  vmobject1,
  vmobject2,
  color = WHITE,
  fill_color = NULL,
  fill_opacity = 0.5,
  precision = 30,
  ...
)

Arguments

vmobject1

First VMobject

vmobject2

Second VMobject

color

Stroke color

fill_color

Fill color

fill_opacity

Fill opacity

precision

Bezier sampling precision

...

Additional args


Method clone()

The objects of this class are cloneable with this method.

Usage

Intersection$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.