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

The open document object path
## Constructors

| Constructor | Description |
| --- | --- |
| [OdPath(OdObject parent)](#OdPath-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initializes a new instance of the `OdPath` class. |
## Methods

| Method | Description |
| --- | --- |
| [getStyleName()](#getStyleName--) | Gets or sets the name of the style. |
| [setStyleName(String value)](#setStyleName-java.lang.String-) | Gets or sets the name of the style. |
| [getTextStyleName()](#getTextStyleName--) | Gets or sets the name of the text style. |
| [setTextStyleName(String value)](#setTextStyleName-java.lang.String-) | Gets or sets the name of the text style. |
| [getLayer()](#getLayer--) | Gets or sets the layer. |
| [setLayer(String value)](#setLayer-java.lang.String-) | Gets or sets the layer. |
| [getData()](#getData--) | Gets or sets the data. |
| [setData(String value)](#setData-java.lang.String-) | Gets or sets the data. |
| [getEnhancedPath()](#getEnhancedPath--) | Gets or sets the enhanced path. |
| [setEnhancedPath(OdGraphicObject[] value)](#setEnhancedPath-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---) | Gets or sets the enhanced path. |
### OdPath(OdObject parent) {#OdPath-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdPath(OdObject parent)
```


Initializes a new instance of the `OdPath` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | The parent. |

### getStyleName() {#getStyleName--}
```
public String getStyleName()
```


Gets or sets the name of the style.

**Returns:**
java.lang.String - The name of the style.
### setStyleName(String value) {#setStyleName-java.lang.String-}
```
public void setStyleName(String value)
```


Gets or sets the name of the style.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The name of the style. |

### getTextStyleName() {#getTextStyleName--}
```
public String getTextStyleName()
```


Gets or sets the name of the text style.

**Returns:**
java.lang.String - The name of the text style.
### setTextStyleName(String value) {#setTextStyleName-java.lang.String-}
```
public void setTextStyleName(String value)
```


Gets or sets the name of the text style.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The name of the text style. |

### getLayer() {#getLayer--}
```
public String getLayer()
```


Gets or sets the layer.

**Returns:**
java.lang.String - The layer.
### setLayer(String value) {#setLayer-java.lang.String-}
```
public void setLayer(String value)
```


Gets or sets the layer.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The layer. |

### getData() {#getData--}
```
public String getData()
```


Gets or sets the data.

**Returns:**
java.lang.String - The data.
### setData(String value) {#setData-java.lang.String-}
```
public void setData(String value)
```


Gets or sets the data.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String | The data. |

### getEnhancedPath() {#getEnhancedPath--}
```
public OdGraphicObject[] getEnhancedPath()
```


Gets or sets the enhanced path.

**Returns:**
com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject[] - The enhanced path.
### setEnhancedPath(OdGraphicObject[] value) {#setEnhancedPath-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---}
```
public void setEnhancedPath(OdGraphicObject[] value)
```


Gets or sets the enhanced path.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [OdGraphicObject\[\]](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject) | The enhanced path. |

