sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #59379
[Bug 710746] Re: [1.0.1 ok] Location.getX()/getY() should return int
In Java, the class Location inherits get/set methods from java.awt.Point, not possessing its own. These methods, such as getX, return a double (equivalent to Python's float) value. Thus, accessing the X-coordinate of a Location instance involves using the inherited getX method, which returns a double representing the horizontal position. https://duilawyercanada.ca/dui-lawyer-brampton/
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/710746
Title:
[1.0.1 ok] Location.getX()/getY() should return int
Status in SikuliX:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/710746/+subscriptions
References