---
title: Class: DbPolyline
source: https://vjmap.com/doc/Class_DbPolyline.html
---

# Class: DbPolyline

[default](#modulesdefaultmd).DbPolyline

`DbPolyline` 多段线实体.

### Hierarchy

- [*DbCurve*](#classesdefaultdbcurvemd)

  ↳ **DbPolyline**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [bulge](#bulge)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [closed](#closed)
- [color](#color)
- [colorIndex](#colorindex)
- [elevation](#elevation)
- [endWidth](#endwidth)
- [layer](#layer)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [points](#points)
- [startWidth](#startwidth)
- [typename](#typename)
- [visibility](#visibility)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbPolyline**(`prop?`: [*IDbPolyline*](#interfacesdefaultidbpolylinemd)): [*DbPolyline*](#classesdefaultdbpolylinemd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbPolyline*](#interfacesdefaultidbpolylinemd) | {} |

**Returns:** [*DbPolyline*](#classesdefaultdbpolylinemd)

Overrides: [DbCurve](#classesdefaultdbcurvemd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

透明度. [0-255][0完全透明,255完全不透明]

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[alpha](#alpha)

___

#### bulge

• `Optional` **bulge**: *number*[]

凸度.

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

克隆的实体ID来源的图形，如为空，则取DbDocument中from的图形。也可以指定另外的图形

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

克隆的实体ID，DbDocument有from图形来源字段时有效.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[cloneObjectId](#cloneobjectid)

___

#### closed

• `Optional` **closed**: *boolean*

是否闭合.

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

颜色索引. 0 随块. 1 Red.  2 Yellow. 3   Green.  4 Cyan.  5  Blue. 6   Magenta. 256 表示随层

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[colorIndex](#colorindex)

___

#### elevation

• `Optional` **elevation**: *number*

高程.

___

#### endWidth

• `Optional` **endWidth**: *number*[]

终点宽.

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[layer](#layer)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[matrix](#matrix)

___

#### points

• `Optional` **points**: [*number*, *number*, *undefined* \| *number*][]

坐标.

___

#### startWidth

• `Optional` **startWidth**: *number*[]

起点宽.

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[visibility](#visibility)

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbCurve](#classesdefaultdbcurvemd).[xdata](#xdata)


<a name="classesdefaultdbradialdimensionmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbRadialDimension
