예제 #1
0
 def __init__(self, mobject, point, **kwargs):
     digest_config(self, kwargs)
     target = mobject.copy()
     point_mob = Point(point)
     if self.point_color:
         point_mob.highlight(self.point_color)
     mobject.replace(point_mob)
     mobject.highlight(point_mob.get_color())
     Transform.__init__(self, mobject, target, **kwargs)
예제 #2
0
 def __init__(self, mobject, point, **kwargs):
     target = mobject.copy()
     point_mob = Point(point)
     mobject.replace(point_mob)
     mobject.highlight(point_mob.get_color())
     Transform.__init__(self, mobject, target, **kwargs)
예제 #3
0
 def __init__(self, mobject, **kwargs):
     target = mobject.copy()
     point = Point(mobject.get_center())
     mobject.replace(point)
     mobject.highlight(point.get_color())
     Transform.__init__(self, mobject, target, **kwargs)