Added match_background_image_file

This commit is contained in:
Grant Sanderson
2018-03-08 13:34:41 -08:00
parent f2f5535bc0
commit 22c4ddb004

View File

@ -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: