IObjectWithBounds

public interface IObjectWithBounds

Represents an object with bounds.

Methods

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

getSize()

public abstract Size getSize()

Gets the object size in pixels.

Returns: Size - The object size in pixels.

getBounds()

public abstract Rectangle getBounds()

Gets the object bounds in pixels.

Returns: Rectangle - The object bounds in pixels.

getWidth()

public abstract int getWidth()

Gets the object width in pixels.

Returns: int - The object width in pixels.

getHeight()

public abstract int getHeight()

Gets the object height in pixels.

Returns: int - The object height in pixels.