Class: DbPolyline
default.DbPolyline
DbPolyline 多段线实体.
Hierarchy
-
↳ DbPolyline
Table of contents
Constructors
Properties
- alpha
- bulge
- cloneFromDb
- cloneObjectId
- closed
- color
- colorIndex
- elevation
- endWidth
- layer
- lineWidth
- linetype
- linetypeScale
- matrix
- points
- startWidth
- typename
- visibility
- xdata
Constructors
constructor
+ new DbPolyline(prop?: IDbPolyline): DbPolyline
构造函数
Parameters
| Name | Type | Default value |
|---|---|---|
prop |
IDbPolyline | {} |
Returns: DbPolyline
Overrides: DbCurve
Properties
alpha
• Optional alpha: number
透明度. [0-255][0完全透明,255完全不透明]
bulge
• Optional bulge: number[]
凸度.
cloneFromDb
• Optional cloneFromDb: string
克隆的实体ID来源的图形,如为空,则取DbDocument中from的图形。也可以指定另外的图形
Inherited from: DbCurve.cloneFromDb
cloneObjectId
• Optional cloneObjectId: string
克隆的实体ID,DbDocument有from图形来源字段时有效.
Inherited from: DbCurve.cloneObjectId
closed
• Optional closed: boolean
是否闭合.
color
• Optional color: number
颜色.
colorIndex
• Optional colorIndex: number
颜色索引. 0 随块. 1 Red. 2 Yellow. 3 Green. 4 Cyan. 5 Blue. 6 Magenta. 256 表示随层
Inherited from: DbCurve.colorIndex
elevation
• Optional elevation: number
高程.
endWidth
• Optional endWidth: number[]
终点宽.
layer
• Optional layer: string
图层.
lineWidth
• Optional lineWidth: number
线宽.
Inherited from: DbCurve.lineWidth
linetype
• Optional linetype: string
线型.
Inherited from: DbCurve.linetype
linetypeScale
• Optional linetypeScale: number
线型比例.
Inherited from: DbCurve.linetypeScale
matrix
• Optional matrix: IDbMatrixOp[]
矩阵.
Inherited from: DbCurve.matrix
points
• Optional points: [number, number, undefined | number][]
坐标.
startWidth
• Optional startWidth: number[]
起点宽.
typename
• Optional typename: string
类型.
Inherited from: DbCurve.typename
visibility
• Optional visibility: boolean
可见.
Inherited from: DbCurve.visibility
xdata
• Optional xdata: string
扩展数据.