---
title: "DgnLineElement"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.dgn.dgnelements/dgnlineelement/"
product: "Aspose.CAD for Java"
description: "Represents line"
---


**Inheritance:** java.lang.Object, DgnDrawingElementBase

Represents line

## Methods

| Method | Description |
| --- | --- |
| [getVertices()](#getVertices) | Gets vertices of the line |
| [getMinPoint()](#getMinPoint) | Gets the min point of object. |
| [getMaxPoint()](#getMaxPoint) | Gets the max point of object. |

### getVertices() {#getVertices}
```java
public com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnPoint> getVertices()
```

Gets vertices of the line

**Returns:** com.aspose.ms.System.Collections.ObjectModel.ReadOnlyCollection<DgnPoint>

### getMinPoint() {#getMinPoint}
```java
public Cad3DPoint getMinPoint()
```

Gets the min point of object.

**Returns:** Cad3DPoint - Min point of object.

### getMaxPoint() {#getMaxPoint}
```java
public Cad3DPoint getMaxPoint()
```

Gets the max point of object.

**Returns:** Cad3DPoint - Max point of object.

