OdCustomShape
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject
public class OdCustomShape extends OdStyledObject
The open document custom-shape.
Constructors
| Constructor | Description |
|---|---|
| OdCustomShape(OdObject parent) | Initializes a new instance of the OdCustomShape class. |
Methods
| Method | Description |
|---|---|
| getStyleName() | Gets or sets the name of the style. |
| setStyleName(String value) | Gets or sets the name of the style. |
| getTextStyleName() | Gets or sets the name of the text style. |
| setTextStyleName(String value) | Gets or sets the name of the text style. |
| getLayer() | Gets or sets the layer. |
| setLayer(String value) | Gets or sets the layer. |
OdCustomShape(OdObject parent)
public OdCustomShape(OdObject parent)
Initializes a new instance of the OdCustomShape class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| parent | OdObject | The parent. |
getStyleName()
public String getStyleName()
Gets or sets the name of the style.
Returns: java.lang.String - The name of the style.
setStyleName(String value)
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()
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)
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()
public String getLayer()
Gets or sets the layer.
Returns: java.lang.String - The layer.
setLayer(String value)
public void setLayer(String value)
Gets or sets the layer.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | java.lang.String | The layer. |