mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +08:00
TeXMobject convenience subclass
This commit is contained in:
@ -275,6 +275,14 @@ class BulletedList(TextMobject):
|
||||
else:
|
||||
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