← Back to team overview

sikuli-driver team mailing list archive

[Bug 710746] Re: [request] Location.getX() and getY() return Python-float/Java-double (from java.awt.Point) - should return int

 

Hi !

The methods getX and getY from the class Location still return float in
1.0.0 release.

Example:
l = Location(100, 100)
print l.getX(), l.getY()

Print:
100.0 100.0

Regards.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/710746

Title:
  [request] Location.getX() and getY() return Python-float/Java-double
  (from java.awt.Point) - should return int

Status in Sikuli:
  Fix Released

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