Provides an object that describes a coordinate. An object of this type is required as a parameter in some methods.
let obj = new Location(location);
let obj = new Location(x, y);
Another location object whose coordinate value is cloned to create this object.
The horizontal coordinate of the point in pixels (from the left of the image).
The vertical coordinate of the point in pixels (from the top of image).
obj.x = value;
value = obj.x;
obj.y = value;
value = obj.y;