Underline#

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

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

Bases: manim.mobject.geometry.line.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 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.

sheen_factor

stroke_color

width

The width of the mobject.