Underline#

Qualified name: manim.mobject.geometry.shape\_matchers.Underline

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

Bases: Line

Creates an 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 any method of self.

animation_overrides

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

height

The height of the mobject.

n_points_per_curve

sheen_factor

stroke_color

width

The width of the mobject.