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


_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to