```
public interface IObjectWithBounds
```

Represents an object with bounds.
## Methods

| Method | Description |
| --- | --- |
| [getSize()](#getSize--) | Gets the object size. |
| [getBounds()](#getBounds--) | Gets the object bounds. |
| [getWidth()](#getWidth--) | Gets the object width. |
| [getHeight()](#getHeight--) | Gets the object height. |
### getSize() {#getSize--}
```
public abstract Size getSize()
```


Gets the object size.

**Returns:**
[Size](../../com.aspose.imaging/size) - The object size.
### getBounds() {#getBounds--}
```
public abstract Rectangle getBounds()
```


Gets the object bounds.

**Returns:**
[Rectangle](../../com.aspose.imaging/rectangle) - The object bounds.
### getWidth() {#getWidth--}
```
public abstract int getWidth()
```


Gets the object width.

**Returns:**
int - The object width.
### getHeight() {#getHeight--}
```
public abstract int getHeight()
```


Gets the object height.

**Returns:**
int - The object height.
