# Class: DbMText

default.DbMText

DbMText 多行文本实体.

# Hierarchy

# Table of contents

# Constructors

# Properties

# Constructors

# constructor

+ new DbMText(prop?: IDbMText): DbMText

构造函数

# Parameters
Name Type Default value
prop IDbMText {}

Returns: DbMText

Overrides: DbEntity

# Properties

# alpha

Optional alpha: number

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

Inherited from: DbEntity.alpha


# attachment

Optional attachment: kTopLeft | kTopCenter | kTopRight | kMiddleLeft | kMiddleCenter | kMiddleRight | kBottomLeft | kBottomCenter | kBottomRight | kBaseLeft | kBaseCenter | kBaseRight | kBaseAlign | kBottomAlign | kMiddleAlign | kTopAlign | kBaseFit | kBottomFit | kMiddleFit | kTopFit | kBaseMid | kBottomMid | kMiddleMid | kTopMid

对齐方式.


# color

Optional color: number

颜色.

Inherited from: DbEntity.color


# colorIndex

Optional colorIndex: number

颜色索引.

Inherited from: DbEntity.colorIndex


# contents

Optional contents: string

文本内容.


# height

Optional height: number

高.


# layer

Optional layer: string

图层.

Inherited from: DbEntity.layer


# lineWidth

Optional lineWidth: number

线宽.

Inherited from: DbEntity.lineWidth


# linetype

Optional linetype: string

线型.

Inherited from: DbEntity.linetype


# linetypeScale

Optional linetypeScale: number

线型比例.

Inherited from: DbEntity.linetypeScale


# location

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

位置.


# matrix

Optional matrix: IDbMatrixOp[]

矩阵.

Inherited from: DbEntity.matrix


# rotation

Optional rotation: number

旋转角度.


# textHeight

Optional textHeight: number

文本高.


# textStyle

Optional textStyle: string

文本样式.


# typename

Optional typename: string

类型.

Inherited from: DbEntity.typename


# visibility

Optional visibility: boolean

可见.

Inherited from: DbEntity.visibility


# width

Optional width: number

宽.


# xdata

Optional xdata: string

扩展数据.

Inherited from: DbEntity.xdata

vjmap / Exports / default / DbOrdinateDimension