Exemple #1
0
 def __init__(self, mobject, **kwargs):
     digest_config(self, kwargs)
     diameter = mobject.get_width()
     if mobject.get_height() > diameter:
         diameter = mobject.get_height()
     Circle.__init__(self, **kwargs)
     self.set_width(diameter + 2 * self.buff)
     self.set_height(diameter + 2 * self.buff)
     self.move_to(mobject)
 def __init__(self, **kwargs):
     Circle.__init__(self, **kwargs)
     plus = TexMobject("+")
     plus.scale(0.7)
     plus.move_to(self)
     self.add(plus)