**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
```

该 cdr 图形 对象
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [CdrGraphicObject()](#CdrGraphicObject--) |  |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getWidth()](#getWidth--) | 获取 x。 |
| [setWidth(double value)](#setWidth-double-) | 设置 x。 |
| [getHeight()](#getHeight--) | 获取 y。 |
| [setHeight(double value)](#setHeight-double-) | 设置 y。 |
| [getBoundsInPixels()](#getBoundsInPixels--) | 获取以像素为单位的边界。 |
| [setBoundsInPixels(RectangleF value)](#setBoundsInPixels-com.aspose.imaging.RectangleF-) | 设置以像素为单位的边界。 |
| [getClipId()](#getClipId--) | 获取剪辑标识符。 |
| [setClipId(short value)](#setClipId-short-) | 设置剪辑标识符。 |
### CdrGraphicObject() {#CdrGraphicObject--}
```
public CdrGraphicObject()
```


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


获取 x。

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


设置 x。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | double | x |

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


获取 y。

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


设置 y。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | double | y。 |

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


获取以像素为单位的边界。

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


设置以像素为单位的边界。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | 以像素为单位的边界。 |

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


获取剪辑标识符。

值：剪辑标识符。

**Returns:**
short - 剪辑标识符。
### setClipId(short value) {#setClipId-short-}
```
public final void setClipId(short value)
```


设置剪辑标识符。

值：剪辑标识符。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | 短 | 剪辑标识符。 |

