mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
TeXMobject convenience subclass
This commit is contained in:
parent
055fc1536c
commit
51129b51ba
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
||||
##########
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue