绘制边框然后填充¶
限定名称: manim.animation.creation.DrawBorderThenFill
- class DrawBorderThenFill(mobject=None, *args, use_override=True, **kwargs)[source]¶
基础类:
Animation先绘制边框,然后显示填充。
示例
示例:ShowDrawBorderThenFill ¶
from manim import * class ShowDrawBorderThenFill(Scene): def construct(self): self.play(DrawBorderThenFill(Square(fill_opacity=1, fill_color=ORANGE)))
class ShowDrawBorderThenFill(Scene): def construct(self): self.play(DrawBorderThenFill(Square(fill_opacity=1, fill_color=ORANGE)))方法
开始动画。
获取动画中涉及的所有mobjects。
get_outlineget_stroke_colorinterpolate_submobject- Parameters:
vmobject (VMobject | OpenGLVMobject)
run_time (float)
rate_func (Callable[[float], float])
stroke_width (float)
stroke_color (str)
draw_border_animation_config (dict)
fill_animation_config (字典)
介绍人 (布尔型)