Provides an object that describes a coordinate. An object of this type is required as a parameter in some methods.
Location obj = new Location();
Location obj = new Location(x, y);
Location obj = new Location(other);
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).
Another location object whose coordinate value is cloned to create this object.