IObjectWithBounds

public interface IObjectWithBounds

Represents an object with bounds.

Methods

MethodDescription
getBounds()Gets the object bounds.
getHeight()Gets the object height.
getSize()Gets the object size.
getWidth()Gets the object width.

getBounds()

public abstract Rectangle getBounds()

Gets the object bounds.

Returns: Rectangle - The object bounds.

getHeight()

public abstract int getHeight()

Gets the object height.

Returns: int - The object height.

getSize()

public abstract Size getSize()

Gets the object size.

Returns: Size - The object size.

getWidth()

public abstract int getWidth()

Gets the object width.

Returns: int - The object width.