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