CURA-4525 add comment and type hint

This commit is contained in:
Jack Ha 2018-01-03 15:49:31 +01:00
parent 62487e8ea2
commit 9e5f0e10b9
2 changed files with 2 additions and 1 deletions

View file

@ -169,6 +169,7 @@ class Arrange:
# \param x x-coordinate
# \param y y-coordinate
# \param shape_arr ShapeArray object
# \param update_empty updates the _is_empty, used when adding disallowed areas
def place(self, x, y, shape_arr, update_empty = True):
x = int(self._scale * x)
y = int(self._scale * y)