← Back to team overview

sikuli-driver team mailing list archive

[Bug 771200] Re: Location object missing getter and setter methods

 

The Sikuli API is spread over the Python and the Java level and if you
look into the details, you will find some more places, where the
setter/getter approach is not consequently implemented ;-)

Class Location only exists on the Java level and is subclassed from Java Point, which makes it possible to say 
loc = Location(10,20)
print loc.x
print loc.y
loc.x = 50

not consequent, but works as for class Region ;-)

** Changed in: sikuli
   Importance: Undecided => Wishlist

** Summary changed:

- Location object missing getter and setter methods
+ [request] Location object missing getter and setter methods

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

Title:
  [request] Location object missing getter and setter methods

Status in Sikuli:
  New

Bug description:
  I'm not sure if it's not supposed to have them but I thought it
  strange that there are no getX, getY, setX, setY methods for the
  Location object.


References