**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.fileformats.cdr.objects.CdrObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrobject)
```
public abstract class CdrGraphicObject extends CdrObject
```

The cdr graphic object
## Constructors

| Constructor | Description |
| --- | --- |
| [CdrGraphicObject()](#CdrGraphicObject--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getWidth()](#getWidth--) | Gets the x. |
| [setWidth(double value)](#setWidth-double-) | Sets the x. |
| [getHeight()](#getHeight--) | Gets the y. |
| [setHeight(double value)](#setHeight-double-) | Sets the y. |
| [getBoundsInPixels()](#getBoundsInPixels--) | Gets the bounds in pixels. |
| [setBoundsInPixels(RectangleF value)](#setBoundsInPixels-com.aspose.imaging.RectangleF-) | Sets the bounds in pixels. |
| [getClipId()](#getClipId--) | Gets the clip identifier. |
| [setClipId(short value)](#setClipId-short-) | Sets the clip identifier. |
### CdrGraphicObject() {#CdrGraphicObject--}
```
public CdrGraphicObject()
```


### getWidth() {#getWidth--}
```
public double getWidth()
```


Gets the x.

**Returns:**
double - the x
### setWidth(double value) {#setWidth-double-}
```
public void setWidth(double value)
```


Sets the x.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the x |

### getHeight() {#getHeight--}
```
public double getHeight()
```


Gets the y.

**Returns:**
double - the y.
### setHeight(double value) {#setHeight-double-}
```
public void setHeight(double value)
```


Sets the y.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the y. |

### getBoundsInPixels() {#getBoundsInPixels--}
```
public RectangleF getBoundsInPixels()
```


Gets the bounds in pixels.

**Returns:**
[RectangleF](../../com.aspose.imaging/rectanglef) - the bounds in pixels.
### setBoundsInPixels(RectangleF value) {#setBoundsInPixels-com.aspose.imaging.RectangleF-}
```
public void setBoundsInPixels(RectangleF value)
```


Sets the bounds in pixels.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | the bounds in pixels. |

### getClipId() {#getClipId--}
```
public final short getClipId()
```


Gets the clip identifier.

Value: The clip identifier.

**Returns:**
short - the clip identifier.
### setClipId(short value) {#setClipId-short-}
```
public final void setClipId(short value)
```


Sets the clip identifier.

Value: The clip identifier.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | short | the clip identifier. |

