**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odstyledobject)
```
public class OdLine extends OdStyledObject
```

L'objet ligne
## Constructeurs

| Constructeur | Description |
| --- | --- |
| [OdLine(OdObject parent)](#OdLine-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initialise une nouvelle instance de la classe `OdPage`. |
## Méthodes

| Méthode | Description |
| --- | --- |
| [getPoint1()](#getPoint1--) | Obtient ou définit le point1. |
| [setPoint1(PointF value)](#setPoint1-com.aspose.imaging.PointF-) | Obtient ou définit le point1. |
| [getPoint2()](#getPoint2--) | Obtient ou définit le point2. |
| [setPoint2(PointF value)](#setPoint2-com.aspose.imaging.PointF-) | Obtient ou définit le point2. |
### OdLine(OdObject parent) {#OdLine-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdLine(OdObject parent)
```


Initialise une nouvelle instance de la classe `OdPage`.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | Le parent. |

### getPoint1() {#getPoint1--}
```
public PointF getPoint1()
```


Obtient ou définit le point1.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The point1.
### setPoint1(PointF value) {#setPoint1-com.aspose.imaging.PointF-}
```
public void setPoint1(PointF value)
```


Obtient ou définit le point1.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| value | [PointF](../../com.aspose.imaging/pointf) | Le point1. |

### getPoint2() {#getPoint2--}
```
public PointF getPoint2()
```


Obtient ou définit le point2.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The point2.
### setPoint2(PointF value) {#setPoint2-com.aspose.imaging.PointF-}
```
public void setPoint2(PointF value)
```


Obtient ou définit le point2.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| value | [PointF](../../com.aspose.imaging/pointf) | Le point2. |

