aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/objects/defcon.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/objects/defcon.py')
-rw-r--r--Lib/defconQt/objects/defcon.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/defconQt/objects/defcon.py b/Lib/defconQt/objects/defcon.py
index 496f1c6..bb1336b 100644
--- a/Lib/defconQt/objects/defcon.py
+++ b/Lib/defconQt/objects/defcon.py
@@ -93,6 +93,9 @@ class TContour(Contour):
selected=point.selected)
pointPen.endPath()
+ def getPoint(self, index):
+ return self[index % len(self)]
+
class TPoint(Point):
__slots__ = ["_selected"]