Skip to contents

Draws the border of a VMobject, then fills it in.

Super class

manimR::Animation -> DrawBorderThenFill

Public fields

stroke_color

Color used for the border drawing phase

Methods

Inherited methods


Method new()

Create a DrawBorderThenFill animation

Usage

DrawBorderThenFill$new(
  mobject,
  run_time = 2,
  stroke_color = NULL,
  rate_func = "double_smooth",
  ...
)

Arguments

mobject

VMobject to animate

run_time

Duration

stroke_color

Border color during draw phase

rate_func

Easing

...

Additional args


Method begin()

Save starting state and clear

Usage

DrawBorderThenFill$begin()


Method interpolate_mobject()

Draw border then fill

Usage

DrawBorderThenFill$interpolate_mobject(alpha)

Arguments

alpha

Eased progress


Method clone()

The objects of this class are cloneable with this method.

Usage

DrawBorderThenFill$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.