Browse Source

Whitespace changes

Michael Pitidis 13 years ago
parent
commit
181cd3522b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      shape.py

+ 2 - 0
shape.py

@@ -75,6 +75,7 @@ class Shape(object):
         for p in self.points[1:]:
             path.lineTo(QPointF(p))
         return path.contains(QPointF(point))
+
     def moveBy(self,dx,dy):
         index=0
         for point in self.points:
@@ -82,6 +83,7 @@ class Shape(object):
            newYPos=point.y()+dy
            self.points[index]=QPoint(newXPos,newYPos)
            index +=1
+
     def __len__(self):
         return len(self.points)