---
title: "CadPolylineBase"
url: "https://reference.aspose.com/cad/java/com.aspose.cad.fileformats.cad.cadobjects.polylines/cadpolylinebase/"
product: "Aspose.CAD for Java"
description: "Class describing Cad POLYLINE"
---


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

Class describing Cad POLYLINE

## Constructors

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

## Methods

| Method | Description |
| --- | --- |
| [getTypeName()](#getTypeName) | Gets the name of the type. Value: The name of the type. |
| [getElevation()](#getElevation) | Gets or sets the elevation. Value: The elevation. |
| [setElevation(double value)](#setElevation-double) | Gets or sets the elevation. Value: The elevation. |
| [getEndWidth()](#getEndWidth) | Gets or sets the end width. Value: The end width. |
| [setEndWidth(double value)](#setEndWidth-double) | Gets or sets the end width. Value: The end width. |
| [getFlag()](#getFlag) | Gets or sets the flag. Value: The flag. |
| [setFlag(short value)](#setFlag-short) | Gets or sets the flag. Value: The flag. |
| [getMeshMVertexCount()](#getMeshMVertexCount) | Gets or sets the mesh M vertex count. Value: The mesh M vertex count. |
| [setMeshMVertexCount(short value)](#setMeshMVertexCount-short) | Gets or sets the mesh M vertex count. Value: The mesh M vertex count. |
| [getMeshNVertexCount()](#getMeshNVertexCount) | Gets or sets the mesh N vertex count. Value: The mesh N vertex count. |
| [setMeshNVertexCount(short value)](#setMeshNVertexCount-short) | Gets or sets the mesh N vertex count. Value: The mesh N vertex count. |
| [getStartWidth()](#getStartWidth) | Gets or sets the start width. Value: The start width. |
| [setStartWidth(double value)](#setStartWidth-double) | Gets or sets the start width. Value: The start width. |
| [getSurfaceMDensity()](#getSurfaceMDensity) | Gets or sets the surface M density. Value: The surface M density. |
| [setSurfaceMDensity(short value)](#setSurfaceMDensity-short) | Gets or sets the surface M density. Value: The surface M density. |
| [getSurfaceNDensity()](#getSurfaceNDensity) | Gets or sets the surface N density. Value: The surface N density. |
| [setSurfaceNDensity(short value)](#setSurfaceNDensity-short) | Gets or sets the surface N density. Value: The surface N density. |
| [getSurfaceType()](#getSurfaceType) | Gets or sets the type of the surface. Value: The type of the surface. |
| [setSurfaceType(short value)](#setSurfaceType-short) | Gets or sets the type of the surface. Value: The type of the surface. |
| [getThickness()](#getThickness) | Gets or sets the Thickness Value: The Thickness. |
| [setThickness(double value)](#setThickness-double) | Gets or sets the Thickness Value: The Thickness. |

### CadPolylineBase() {#CadPolylineBase}
```java
public CadPolylineBase()
```

### getTypeName() {#getTypeName}
```java
public int getTypeName()
```

Gets the name of the type. Value: The name of the type.

**Returns:** int - The name of the type.

### getElevation() {#getElevation}
```java
public double getElevation()
```

Gets or sets the elevation. Value: The elevation.

**Returns:** double

### setElevation(double value) {#setElevation-double}
```java
public void setElevation(double value)
```

Gets or sets the elevation. Value: The elevation.

### getEndWidth() {#getEndWidth}
```java
public double getEndWidth()
```

Gets or sets the end width. Value: The end width.

**Returns:** double

### setEndWidth(double value) {#setEndWidth-double}
```java
public void setEndWidth(double value)
```

Gets or sets the end width. Value: The end width.

### getFlag() {#getFlag}
```java
public final short getFlag()
```

Gets or sets the flag. Value: The flag.

**Returns:** short

### setFlag(short value) {#setFlag-short}
```java
public final void setFlag(short value)
```

Gets or sets the flag. Value: The flag.

### getMeshMVertexCount() {#getMeshMVertexCount}
```java
public short getMeshMVertexCount()
```

Gets or sets the mesh M vertex count. Value: The mesh M vertex count.

**Returns:** short

### setMeshMVertexCount(short value) {#setMeshMVertexCount-short}
```java
public void setMeshMVertexCount(short value)
```

Gets or sets the mesh M vertex count. Value: The mesh M vertex count.

### getMeshNVertexCount() {#getMeshNVertexCount}
```java
public short getMeshNVertexCount()
```

Gets or sets the mesh N vertex count. Value: The mesh N vertex count.

**Returns:** short

### setMeshNVertexCount(short value) {#setMeshNVertexCount-short}
```java
public void setMeshNVertexCount(short value)
```

Gets or sets the mesh N vertex count. Value: The mesh N vertex count.

### getStartWidth() {#getStartWidth}
```java
public double getStartWidth()
```

Gets or sets the start width. Value: The start width.

**Returns:** double

### setStartWidth(double value) {#setStartWidth-double}
```java
public void setStartWidth(double value)
```

Gets or sets the start width. Value: The start width.

### getSurfaceMDensity() {#getSurfaceMDensity}
```java
public short getSurfaceMDensity()
```

Gets or sets the surface M density. Value: The surface M density.

**Returns:** short

### setSurfaceMDensity(short value) {#setSurfaceMDensity-short}
```java
public void setSurfaceMDensity(short value)
```

Gets or sets the surface M density. Value: The surface M density.

### getSurfaceNDensity() {#getSurfaceNDensity}
```java
public short getSurfaceNDensity()
```

Gets or sets the surface N density. Value: The surface N density.

**Returns:** short

### setSurfaceNDensity(short value) {#setSurfaceNDensity-short}
```java
public void setSurfaceNDensity(short value)
```

Gets or sets the surface N density. Value: The surface N density.

### getSurfaceType() {#getSurfaceType}
```java
public short getSurfaceType()
```

Gets or sets the type of the surface. Value: The type of the surface.

**Returns:** short

### setSurfaceType(short value) {#setSurfaceType-short}
```java
public void setSurfaceType(short value)
```

Gets or sets the type of the surface. Value: The type of the surface.

### getThickness() {#getThickness}
```java
public double getThickness()
```

Gets or sets the Thickness Value: The Thickness.

**Returns:** double

### setThickness(double value) {#setThickness-double}
```java
public void setThickness(double value)
```

Gets or sets the Thickness Value: The Thickness.

