sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #00991
Re: [Question #143532]: Location.getX() and getY() return type?
Question #143532 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/143532
Status: Open => Answered
RaiMan proposed the following answer:
absolutely right:
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.
I will change the doc accordingly and report a bug so that the
developers may decide to implement get methods returning int.
So just use .x and .y (which are read/write attributes) for now.
Thanks for your input
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.