|
AnyCAD Rapid API 2024
Help you to create a better world!
|
Public 成员函数 | |
| RulerWidgetSetting (Viewer viewer) | |
| void | SetRulerWidget (EnumRulerWidgetType type) |
| void | SetMarkColor (Vector3 color) |
| void | SetNumberColor (Vector3 color) |
<>
刻度尺Widget设置.
| RulerWidgetSetting.RulerWidgetSetting | ( | Viewer | viewer | ) |
构造设置对象
| viewer |
| void RulerWidgetSetting.SetMarkColor | ( | Vector3 | color | ) |
设置刻度线的颜色
| color | 颜色 |
| void RulerWidgetSetting.SetNumberColor | ( | Vector3 | color | ) |
设置数字的颜色
| color | 颜色 |
| void RulerWidgetSetting.SetRulerWidget | ( | EnumRulerWidgetType | type | ) |
设置刻度尺,仅在ViewMode2D开启时有效
| type | 刻度尺类型,支持下述选项: Empty: 无刻度尺 Default: 默认刻度尺样式 |