BulletedList#
Qualified name: manim.mobject.text.tex\_mobject.BulletedList
- class BulletedList(*items, buff=0.5, dot_scale_factor=2, tex_environment=None, **kwargs)[source]#
Bases:
TexExamples
Example: BulletedListExample ¶
from manim import * class BulletedListExample(Scene): def construct(self): blist = BulletedList("Item 1", "Item 2", "Item 3", height=2, width=2) blist.set_color_by_tex("Item 1", RED) blist.set_color_by_tex("Item 2", GREEN) blist.set_color_by_tex("Item 3", BLUE) self.add(blist)
Methods
fade_all_butAttributes
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
font_sizeThe font size of the tex mobject.
hash_seedA unique hash representing the result of the generated mobject points.
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.