OdCustomShape

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

ConstructorDescription
OdCustomShape(OdObject parent)Initializes a new instance of the OdCustomShape class.

Methods

MethodDescription
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:

ParameterTypeDescription
parentOdObjectThe 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:

ParameterTypeDescription
valuejava.lang.StringThe 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:

ParameterTypeDescription
valuejava.lang.StringThe 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:

ParameterTypeDescription
valuejava.lang.StringThe layer.