OdLine

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

The line object

Constructors

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

Methods

MethodDescription
getPoint1()Gets or sets the point1.
setPoint1(PointF value)Gets or sets the point1.
getPoint2()Gets or sets the point2.
setPoint2(PointF value)Gets or sets the point2.

OdLine(OdObject parent)

public OdLine(OdObject parent)

Initializes a new instance of the OdPage class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getPoint1()

public PointF getPoint1()

Gets or sets the point1.

Returns: PointF - The point1.

setPoint1(PointF value)

public void setPoint1(PointF value)

Gets or sets the point1.

Parameters:

ParameterTypeDescription
valuePointFThe point1.

getPoint2()

public PointF getPoint2()

Gets or sets the point2.

Returns: PointF - The point2.

setPoint2(PointF value)

public void setPoint2(PointF value)

Gets or sets the point2.

Parameters:

ParameterTypeDescription
valuePointFThe point2.