唯杰地图 logo唯杰地图
VJMAP
EN

Interface: IDbText

更新于 2026-09-14约 4 分钟
.md

单行文本实体类型接口

Hierarchy

Table of contents

Properties

Properties

alpha

• Optional alpha: number

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

Inherited from: IDbEntity.alpha


color

• Optional color: number

颜色.

Inherited from: IDbEntity.color


colorIndex

• Optional colorIndex: number

颜色索引.

Inherited from: IDbEntity.colorIndex


contents

• Optional contents: string

文本内容, 同text.


delete

• Optional delete: boolean

是否删除此实体.

Inherited from: IDbEntity.delete


height

• Optional height: number

高.


horizontalMode

• Optional horizontalMode: kTextLeft | kTextCenter | kTextRight | kTextAlign | kTextMid | kTextFit

水平模式.


layer

• Optional layer: string

图层.

Inherited from: IDbEntity.layer


lineWidth

• Optional lineWidth: number

线宽.

Inherited from: IDbEntity.lineWidth


linetype

• Optional linetype: string

线型.

Inherited from: IDbEntity.linetype


linetypeScale

• Optional linetypeScale: number

线型比例.

Inherited from: IDbEntity.linetypeScale


matrix

• Optional matrix: IDbMatrixOp[]

矩阵.

Inherited from: IDbEntity.matrix


objectid

• Optional objectid: string

实体句柄,如传了实体句柄,是表示修改此实体.

Inherited from: IDbEntity.objectid


position

• Optional position: [number, number, undefined | number]

位置.


rotation

• Optional rotation: number

旋转角度.


text

• Optional text: string

文本内容, 同contents.


textStyle

• Optional textStyle: string

文本样式.


typename

• Optional typename: string

类型.

Inherited from: IDbEntity.typename


verticalMode

• Optional verticalMode: kTextBase | kTextBottom | kTextVertMid | kTextTop

垂直模式.


visibility

• Optional visibility: boolean

可见.

Inherited from: IDbEntity.visibility


widthFactor

• Optional widthFactor: number

宽度因子.


xdata

• Optional xdata: string

扩展数据.

Inherited from: IDbEntity.xdata

vjmap / Exports / IDbTextStyle

这篇文档有帮助吗?