manim.mobject.shape_matchers.Underline

class Underline(mobject, buff=0.1, **kwargs)[source]

Bases: manim.mobject.geometry.Line

Creates an underline.

Parameters

Line – The underline.

Examples

Example: UnderLine

../_images/UnderLine-1.png
from manim import *

class UnderLine(Scene):
    def construct(self):
        man = Tex("Manim")  # Full Word
        ul = Underline(man)  # Underlining the word
        self.add(man, ul)

Methods

Attributes

animate

Used to animate the application of a method.

animation_overrides

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.