OdStyledObject
Contents
[
Hide
]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
| Constructor | Description |
|---|---|
| OdStyledObject(OdObject parent) | Initializes a new instance of the OdStyledObject class. |
Methods
| Method | Description |
|---|---|
| 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:
| Parameter | Type | Description |
|---|---|---|
| parent | OdObject | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | OdGraphicStyle | The 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:
| Parameter | Type | Description |
|---|---|---|
| value | RectangleF | The rectangle. |