# Class: DbLine

default.DbLine

DbLine 线实体.

# Hierarchy

# Implements

# Table of contents

# Constructors

# Properties

# Constructors

# constructor

+ new DbLine(prop?: IDbLine): DbLine

构造函数

# Parameters
Name Type Default value
prop IDbLine {}

Returns: DbLine

Overrides: DbEntity

# Properties

# alpha

Optional alpha: number

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

Implementation of: IDbLine.alpha

Inherited from: DbEntity.alpha


# cloneFromDb

Optional cloneFromDb: string

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

Inherited from: DbEntity.cloneFromDb


# cloneObjectId

Optional cloneObjectId: string

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

Inherited from: DbEntity.cloneObjectId


# color

Optional color: number

颜色.

Implementation of: IDbLine.color

Inherited from: DbEntity.color


# colorIndex

Optional colorIndex: number

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

Implementation of: IDbLine.colorIndex

Inherited from: DbEntity.colorIndex


# end

Optional end: [number, number, undefined | number]

终点.

Implementation of: IDbLine.end


# layer

Optional layer: string

图层.

Implementation of: IDbLine.layer

Inherited from: DbEntity.layer


# lineWidth

Optional lineWidth: number

线宽.

Implementation of: IDbLine.lineWidth

Inherited from: DbEntity.lineWidth


# linetype

Optional linetype: string

线型.

Implementation of: IDbLine.linetype

Inherited from: DbEntity.linetype


# linetypeScale

Optional linetypeScale: number

线型比例.

Implementation of: IDbLine.linetypeScale

Inherited from: DbEntity.linetypeScale


# matrix

Optional matrix: IDbMatrixOp[]

矩阵.

Implementation of: IDbLine.matrix

Inherited from: DbEntity.matrix


# start

Optional start: [number, number, undefined | number]

起点.

Implementation of: IDbLine.start


# thickness

Optional thickness: number

厚度.

Implementation of: IDbLine.thickness


# typename

Optional typename: string

类型.

Implementation of: IDbLine.typename

Inherited from: DbEntity.typename


# visibility

Optional visibility: boolean

可见.

Implementation of: IDbLine.visibility

Inherited from: DbEntity.visibility


# xdata

Optional xdata: string

扩展数据.

Implementation of: IDbLine.xdata

Inherited from: DbEntity.xdata

vjmap / Exports / default / DbLineType