mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Added match_background_image_file
This commit is contained in:
parent
f2f5535bc0
commit
22c4ddb004
1 changed files with 4 additions and 0 deletions
|
@ -165,6 +165,10 @@ class VMobject(Mobject):
|
|||
def get_background_image_file(self):
|
||||
return self.background_image_file
|
||||
|
||||
def match_background_image_file(self, vmobject):
|
||||
self.color_using_background_image(vmobject.get_background_image_file())
|
||||
return self
|
||||
|
||||
## Drawing
|
||||
def start_at(self, point):
|
||||
if len(self.points) == 0:
|
||||
|
|
Loading…
Add table
Reference in a new issue