IObjectWithBounds

public interface IObjectWithBounds

Represents an object with bounds.

Methods

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

getSize()

public abstract Size getSize()

Gets the object size.

Returns: Size - The object size.

getBounds()

public abstract Rectangle getBounds()

Gets the object bounds.

Returns: Rectangle - The object bounds.

getWidth()

public abstract int getWidth()

Gets the object width.

Returns: int - The object width.

getHeight()

public abstract int getHeight()

Gets the object height.

Returns: int - The object height.