OdStyledObject

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject

public class OdStyledObject extends OdGraphicObject

The open document styled graphic object.

Constructors

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

Methods

MethodDescription
getStyle()Gets or sets the style.
setStyle(OdGraphicStyle value)Gets or sets the style.
getRectangle()Gets or sets the rectangle.
setRectangle(RectangleF value)Gets or sets the rectangle.

OdStyledObject(OdObject parent)

public OdStyledObject(OdObject parent)

Initializes a new instance of the OdStyledObject class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getStyle()

public OdGraphicStyle getStyle()

Gets or sets the style.

Returns: OdGraphicStyle - The style.

setStyle(OdGraphicStyle value)

public void setStyle(OdGraphicStyle value)

Gets or sets the style.

Parameters:

ParameterTypeDescription
valueOdGraphicStyleThe style.

getRectangle()

public RectangleF getRectangle()

Gets or sets the rectangle.

Returns: RectangleF - The rectangle.

setRectangle(RectangleF value)

public void setRectangle(RectangleF value)

Gets or sets the rectangle.

Parameters:

ParameterTypeDescription
valueRectangleFThe rectangle.