**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject)
```
public class OdGraphicObject extends OdObject
```

打开文档的图形对象。
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [OdGraphicObject(OdObject parent)](#OdGraphicObject-com.aspose.imaging.fileformats.opendocument.OdObject-) | 初始化 `OdGraphicObject` 类的新实例。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getAbsoluteCoordinates()](#getAbsoluteCoordinates--) | 获取或设置指示是否为 [absolute coordinates] 的值。 |
| [setAbsoluteCoordinates(boolean value)](#setAbsoluteCoordinates-boolean-) | 获取或设置指示是否为 [absolute coordinates] 的值。 |
### OdGraphicObject(OdObject parent) {#OdGraphicObject-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdGraphicObject(OdObject parent)
```


初始化 `OdGraphicObject` 类的新实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | 父级。 |

### getAbsoluteCoordinates() {#getAbsoluteCoordinates--}
```
public boolean getAbsoluteCoordinates()
```


获取或设置指示是否为 [absolute coordinates] 的值。

**Returns:**
boolean - 如果是 [absolute coordinates] 则为 `true`；否则为 `false`。
### setAbsoluteCoordinates(boolean value) {#setAbsoluteCoordinates-boolean-}
```
public void setAbsoluteCoordinates(boolean value)
```


获取或设置指示是否为 [absolute coordinates] 的值。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 值 | boolean | `true` 如果是 [absolute coordinates]；否则为 `false`。 |

