OdRectangle

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 OdRectangle extends OdStyledObject

The rectangle object

Constructors

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

Methods

MethodDescription
getCornerRadius()Gets or sets the corner radius.
setCornerRadius(float value)Gets or sets the corner radius.

OdRectangle(OdObject parent)

public OdRectangle(OdObject parent)

Initializes a new instance of the OdRectangle class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getCornerRadius()

public float getCornerRadius()

Gets or sets the corner radius.

Returns: float - The corner radius.

setCornerRadius(float value)

public void setCornerRadius(float value)

Gets or sets the corner radius.

Parameters:

ParameterTypeDescription
valuefloatThe corner radius.