ITwoDObject
public interface ITwoDObject
Represents any two dimensional object in a content structure.
Methods
Method | Description |
---|---|
getX() | Gets the x-coordinate of the object. |
getY() | Gets the y-coordinate of the object. |
getWidth() | Gets the width of the object. |
getHeight() | Gets the height of the object. |
getX()
public abstract double getX()
Gets the x-coordinate of the object.
Returns: double - The x-coordinate of the object.
getY()
public abstract double getY()
Gets the y-coordinate of the object.
Returns: double - The y-coordinate of the object.
getWidth()
public abstract double getWidth()
Gets the width of the object.
Returns: double - The width of the object.
getHeight()
public abstract double getHeight()
Gets the height of the object.
Returns: double - The height of the object.