A community-maintained Python framework for creating mathematical animations.
Added Underline
Grant Sandersonf89bb3e125c1
diff --git a/manimlib/mobject/shape_matchers.py b/manimlib/mobject/shape_matchers.pyindex a0f46229f..b19f7a756 100644--- a/manimlib/mobject/shape_matchers.py+++ b/manimlib/mobject/shape_matchers.py@@ -72,3 +72,14 @@ class Cross(VGroup):)self.replace(mobject, stretch=True)self.set_stroke(self.stroke_color, self.stroke_width)+++class Underline(Line):+ CONFIG = {+ "buff": SMALL_BUFF,+ }++ def __init__(self, mobject, **kwargs):+ super().__init__(LEFT, RIGHT)+ self.match_width(mobject)+ self.next_to(mobject, DOWN, buff=self.buff)