[1.0.1 ok] Location.getX()/getY() should return int
Bug #710746 reported by
RaiMan
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
see related question
Class Location is defined on the Java level and does not have it's own get/set methods inheriting it from java.awt.Point.
These getX, .... return a double (Python float) value.
description: | updated |
Changed in sikuli: | |
importance: | Undecided → Wishlist |
Changed in sikuli: | |
milestone: | none → x1.0-rc2 |
Changed in sikuli: | |
status: | Fix Committed → Fix Released |
Changed in sikuli: | |
importance: | High → Critical |
summary: |
- [1.0] Location.getX()/getY() should return int + [1.0.1 ok] Location.getX()/getY() should return int |
To post a comment you must log in.
The return type of getX and getY can't be changed, so I add another constructor for Location.
The constructor of Location accepts float as well now.