mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
TeXMobject convenience subclass
This commit is contained in:
@ -275,6 +275,14 @@ class BulletedList(TextMobject):
|
|||||||
else:
|
else:
|
||||||
other_part.set_fill(opacity=opacity)
|
other_part.set_fill(opacity=opacity)
|
||||||
|
|
||||||
|
|
||||||
|
class TexMobjectFromPresetString(TexMobject):
|
||||||
|
|
||||||
|
def __init__(self, **kwargs):
|
||||||
|
digest_config(self, kwargs)
|
||||||
|
TexMobject.__init__(self, self.tex, **kwargs)
|
||||||
|
self.set_color(self.color)
|
||||||
|
|
||||||
##########
|
##########
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user