---
title: Class: DbRotatedDimension
source: https://vjmap.com/doc/Class_DbRotatedDimension.html
---

# Class: DbRotatedDimension

[default](#modulesdefaultmd).DbRotatedDimension

`DbRotatedDimension` 转角标注实体.

### Hierarchy

- [*DbDimension*](#classesdefaultdbdimensionmd)

  ↳ **DbRotatedDimension**

### Table of contents

#### Constructors

- [constructor](#constructor)

#### Properties

- [alpha](#alpha)
- [arrowColor](#arrowcolor)
- [arrowSize](#arrowsize)
- [cloneFromDb](#clonefromdb)
- [cloneObjectId](#cloneobjectid)
- [color](#color)
- [colorIndex](#colorindex)
- [dimDec](#dimdec)
- [dimLinePoint](#dimlinepoint)
- [dimRnd](#dimrnd)
- [dimScale](#dimscale)
- [dimStyle](#dimstyle)
- [layer](#layer)
- [lineColor](#linecolor)
- [lineWidth](#linewidth)
- [linetype](#linetype)
- [linetypeScale](#linetypescale)
- [matrix](#matrix)
- [textColor](#textcolor)
- [textHeight](#textheight)
- [textPosition](#textposition)
- [textRotation](#textrotation)
- [typename](#typename)
- [visibility](#visibility)
- [xLine1Point](#xline1point)
- [xLine2Point](#xline2point)
- [xdata](#xdata)

### Constructors

#### constructor

\+ **new DbRotatedDimension**(`prop?`: [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd)): [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

构造函数

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prop` | [*IDbRotatedDimension*](#interfacesdefaultidbrotateddimensionmd) | {} |

**Returns:** [*DbRotatedDimension*](#classesdefaultdbrotateddimensionmd)

Overrides: [DbDimension](#classesdefaultdbdimensionmd)

### Properties

#### alpha

• `Optional` **alpha**: *number*

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

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[alpha](#alpha)

___

#### arrowColor

• `Optional` **arrowColor**: *number*

箭头颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowColor](#arrowcolor)

___

#### arrowSize

• `Optional` **arrowSize**: *number*

箭头大小.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[arrowSize](#arrowsize)

___

#### cloneFromDb

• `Optional` **cloneFromDb**: *string*

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

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneFromDb](#clonefromdb)

___

#### cloneObjectId

• `Optional` **cloneObjectId**: *string*

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

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[cloneObjectId](#cloneobjectid)

___

#### color

• `Optional` **color**: *number*

颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[color](#color)

___

#### colorIndex

• `Optional` **colorIndex**: *number*

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

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[colorIndex](#colorindex)

___

#### dimDec

• `Optional` **dimDec**: *number*

设置标注主单位显示的小数位位数.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimDec](#dimdec)

___

#### dimLinePoint

• `Optional` **dimLinePoint**: [*number*, *number*, *undefined* \| *number*][]

设置定义此dimension实体尺寸线位置的WCS点。.

___

#### dimRnd

• `Optional` **dimRnd**: *number*

所有标注距离舍入到指定值.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimRnd](#dimrnd)

___

#### dimScale

• `Optional` **dimScale**: *number*

注记比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimScale](#dimscale)

___

#### dimStyle

• `Optional` **dimStyle**: *string*

标注样式.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[dimStyle](#dimstyle)

___

#### layer

• `Optional` **layer**: *string*

图层.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[layer](#layer)

___

#### lineColor

• `Optional` **lineColor**: *number*

引线颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineColor](#linecolor)

___

#### lineWidth

• `Optional` **lineWidth**: *number*

线宽.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[lineWidth](#linewidth)

___

#### linetype

• `Optional` **linetype**: *string*

线型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetype](#linetype)

___

#### linetypeScale

• `Optional` **linetypeScale**: *number*

线型比例.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[linetypeScale](#linetypescale)

___

#### matrix

• `Optional` **matrix**: [*IDbMatrixOp*](#interfacesdefaultidbmatrixopmd)[]

矩阵.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[matrix](#matrix)

___

#### textColor

• `Optional` **textColor**: *number*

文本颜色.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textColor](#textcolor)

___

#### textHeight

• `Optional` **textHeight**: *number*

文字高度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textHeight](#textheight)

___

#### textPosition

• `Optional` **textPosition**: [*number*, *number*, *undefined* \| *number*][]

文字位置.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textPosition](#textposition)

___

#### textRotation

• `Optional` **textRotation**: *number*

文字旋转角度.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[textRotation](#textrotation)

___

#### typename

• `Optional` **typename**: *string*

类型.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[typename](#typename)

___

#### visibility

• `Optional` **visibility**: *boolean*

可见.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[visibility](#visibility)

___

#### xLine1Point

• `Optional` **xLine1Point**: [*number*, *number*, *undefined* \| *number*][]

线上点1.

___

#### xLine2Point

• `Optional` **xLine2Point**: [*number*, *number*, *undefined* \| *number*][]

线上点2.

___

#### xdata

• `Optional` **xdata**: *string*

扩展数据.

Inherited from: [DbDimension](#classesdefaultdbdimensionmd).[xdata](#xdata)


<a name="classesdefaultdbshapemd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / DbShape
