# Class: DbRotatedDimension
default.DbRotatedDimension
DbRotatedDimension
转角标注实体.
# Hierarchy
-
↳ DbRotatedDimension
# Table of contents
# Constructors
# Properties
- alpha
- arrowColor
- arrowSize
- cloneFromDb
- cloneObjectId
- color
- colorIndex
- dimDec
- dimLinePoint
- dimRnd
- dimScale
- dimStyle
- layer
- lineColor
- lineWidth
- linetype
- linetypeScale
- matrix
- textColor
- textHeight
- textPosition
- textRotation
- typename
- visibility
- xLine1Point
- xLine2Point
- xdata
# Constructors
# constructor
+ new DbRotatedDimension(prop?
: IDbRotatedDimension): DbRotatedDimension
构造函数
# Parameters
Name | Type | Default value |
---|---|---|
prop | IDbRotatedDimension | {} |
Returns: DbRotatedDimension
Overrides: DbDimension
# Properties
# alpha
• Optional
alpha: number
透明度. [0-255][0完全透明,255完全不透明]
Inherited from: DbDimension.alpha
# arrowColor
• Optional
arrowColor: number
箭头颜色.
Inherited from: DbDimension.arrowColor
# arrowSize
• Optional
arrowSize: number
箭头大小.
Inherited from: DbDimension.arrowSize
# cloneFromDb
• Optional
cloneFromDb: string
克隆的实体ID来源的图形,如为空,则取DbDocument中from的图形。也可以指定另外的图形
Inherited from: DbDimension.cloneFromDb
# cloneObjectId
• Optional
cloneObjectId: string
克隆的实体ID,DbDocument有from图形来源字段时有效.
Inherited from: DbDimension.cloneObjectId
# color
• Optional
color: number
颜色.
Inherited from: DbDimension.color
# colorIndex
• Optional
colorIndex: number
颜色索引. 0 随块. 1 Red. 2 Yellow. 3 Green. 4 Cyan. 5 Blue. 6 Magenta. 256 表示随层
Inherited from: DbDimension.colorIndex
# dimDec
• Optional
dimDec: number
设置标注主单位显示的小数位位数.
Inherited from: DbDimension.dimDec
# dimLinePoint
• Optional
dimLinePoint: [number, number, undefined | number][]
设置定义此dimension实体尺寸线位置的WCS点。.
# dimRnd
• Optional
dimRnd: number
所有标注距离舍入到指定值.
Inherited from: DbDimension.dimRnd
# dimScale
• Optional
dimScale: number
注记比例.
Inherited from: DbDimension.dimScale
# dimStyle
• Optional
dimStyle: string
标注样式.
Inherited from: DbDimension.dimStyle
# layer
• Optional
layer: string
图层.
Inherited from: DbDimension.layer
# lineColor
• Optional
lineColor: number
引线颜色.
Inherited from: DbDimension.lineColor
# lineWidth
• Optional
lineWidth: number
线宽.
Inherited from: DbDimension.lineWidth
# linetype
• Optional
linetype: string
线型.
Inherited from: DbDimension.linetype
# linetypeScale
• Optional
linetypeScale: number
线型比例.
Inherited from: DbDimension.linetypeScale
# matrix
• Optional
matrix: IDbMatrixOp[]
矩阵.
Inherited from: DbDimension.matrix
# textColor
• Optional
textColor: number
文本颜色.
Inherited from: DbDimension.textColor
# textHeight
• Optional
textHeight: number
文字高度.
Inherited from: DbDimension.textHeight
# textPosition
• Optional
textPosition: [number, number, undefined | number][]
文字位置.
Inherited from: DbDimension.textPosition
# textRotation
• Optional
textRotation: number
文字旋转角度.
Inherited from: DbDimension.textRotation
# typename
• Optional
typename: string
类型.
Inherited from: DbDimension.typename
# visibility
• Optional
visibility: boolean
可见.
Inherited from: DbDimension.visibility
# xLine1Point
• Optional
xLine1Point: [number, number, undefined | number][]
线上点1.
# xLine2Point
• Optional
xLine2Point: [number, number, undefined | number][]
线上点2.
# xdata
• Optional
xdata: string
扩展数据.
Inherited from: DbDimension.xdata