Skip to contents

A dashed line between two points.

Super classes

manimR::MObject -> manimR::VMobject -> DashedLine

Public fields

dash_length

Length of each dash

num_dashes

Number of dashes

Methods

Inherited methods


Method new()

Create a new DashedLine

Usage

DashedLine$new(
  start = LEFT,
  end = RIGHT,
  dash_length = DEFAULT_DASH_LENGTH,
  num_dashes = NULL,
  color = WHITE,
  ...
)

Arguments

start

Start point

end

End point

dash_length

Length of each dash

num_dashes

Number of dashes (overrides dash_length)

color

Color

...

Additional args


Method clone()

The objects of this class are cloneable with this method.

Usage

DashedLine$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.