ITwoDObject
Leave feedback
On this page
public interface ITwoDObject
Represents any two dimensional object in a content structure.
| 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. |
public abstract double getX()
Gets the x-coordinate of the object.
Returns: double - The x-coordinate of the object.
public abstract double getY()
Gets the y-coordinate of the object.
Returns: double - The y-coordinate of the object.
public abstract double getWidth()
Gets the width of the object.
Returns: double - The width of the object.
public abstract double getHeight()
Gets the height of the object.
Returns: double - The height of the object.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.