Ejemplo n.º 1
0
 def __init__(self,
              x1,
              y1,
              x2,
              y2,
              filling_character=LINE_DEFAULT_CHARACTER):
     Instruction.__init__(self, filling_character)
     self.x1 = x1
     self.y1 = y1
     self.x2 = x2
     self.y2 = y2
Ejemplo n.º 2
0
 def __init__(self, x, y, filling_character=BUCKET_FILL_DEFAULT_CHARACTER):
     Instruction.__init__(self, filling_character)
     self.x = x
     self.y = y