**Inheritance:**
java.lang.Object, com.aspose.pdf.facades.LineInfo

```
public final class LineInfo extends Object
```

Represents the information of line.

## Constructors

| Constructor | Description |
| --- | --- |
| [LineInfo](#LineInfo--) |  |

## Methods

| Method | Description |
| --- | --- |
| [getBorderStyle](#getBorderStyle--) | Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline. |
| [getLineColor](#getLineColor--) | Gets the color of a line. |
| [getLineDashPattern](#getLineDashPattern--) | Gets the dash pattern of a line. |
| [getLineWidth](#getLineWidth--) | Gets or sets the width of a line. |
| [getVerticeCoordinate](#getVerticeCoordinate--) | Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex. |
| [getVisibility](#getVisibility--) | Gets the visibility of a line. |
| [setBorderStyle](#setBorderStyle-com.aspose.pdf.BorderStyle-) | Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline. |
| [setBorderStyle](#setBorderStyle-int-) | Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline. |
| [setLineColor](#setLineColor-java.awt.Color-) | Sets the color of a line. |
| [setLineDashPattern](#setLineDashPattern-int:A-) | Sets the dash pattern of a line. |
| [setLineWidth](#setLineWidth-int-) | Sets the width of a line. |
| [setVerticeCoordinate](#setVerticeCoordinate-float:A-) | Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex. |
| [setVisibility](#setVisibility-boolean-) | Sets the visibility of a line. |

### LineInfo {#LineInfo--}
```
public LineInfo()
```



### getBorderStyle {#getBorderStyle--}
```
public BorderStyle getBorderStyle()
```

Gets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

**Returns:**
int value

### getLineColor {#getLineColor--}
```
public Color getLineColor()
```

Gets the color of a line.

**Returns:**
Color element

### getLineDashPattern {#getLineDashPattern--}
```
public int[] getLineDashPattern()
```

Gets the dash pattern of a line.

**Returns:**
array of int value

### getLineWidth {#getLineWidth--}
```
public int getLineWidth()
```

Gets or sets the width of a line.

**Returns:**
int value

### getVerticeCoordinate {#getVerticeCoordinate--}
```
public float[] getVerticeCoordinate()
```

Gets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.

**Returns:**
array of float value

### getVisibility {#getVisibility--}
```
public boolean getVisibility()
```

Gets the visibility of a line.

**Returns:**
boolean value

### setBorderStyle {#setBorderStyle-com.aspose.pdf.BorderStyle-}
Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

### setBorderStyle {#setBorderStyle-int-}
```
public void setBorderStyle(int value)
```

Sets the border style of a line, 0 represents solid, 1 represents dashed, 2 represents beveled, 3 represents insert, 4 represents underline.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | int value |

### setLineColor {#setLineColor-java.awt.Color-}
Sets the color of a line.

### setLineDashPattern {#setLineDashPattern-int:A-}
```
public void setLineDashPattern(int[] value)
```

Sets the dash pattern of a line.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | array of int value |

### setLineWidth {#setLineWidth-int-}
```
public void setLineWidth(int value)
```

Sets the width of a line.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | int value |

### setVerticeCoordinate {#setVerticeCoordinate-float:A-}
```
public void setVerticeCoordinate(float[] value)
```

Sets an array of numbers representing the alternating horizontal and vertical,coordinates, respectively, of each vertex.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | array of float value |

### setVisibility {#setVisibility-boolean-}
```
public void setVisibility(boolean value)
```

Sets the visibility of a line.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value |  | boolean value |
