|
AnyCAD Rapid API 2026
Help you to create a better world!
|
视图位置 更多...
Public 成员函数 | |
| ViewPosition (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
| ViewPosition () | |
| 默认构造函数 | |
| ViewPosition (Vector2d pos, EnumPositionType type) | |
| 构造函数 | |
| ViewPosition (uint x, uint y, EnumPositionType type) | |
| 构造函数 | |
| ViewPosition (double x, double y, EnumPositionType type) | |
| 构造函数 | |
| Vector2d | GetValue () |
| void | SetValue (Vector2d val) |
| EnumPositionType | GetPositionType () |
| void | SetPositionType (EnumPositionType val) |
| Vector2d | GetAbsoluteValue (uint winWidth, uint winHeight) |
| 窗口到视口值的转换 | |
视图位置
Group: Rendering
该类用于表示视图中的位置信息,包括位置坐标和位置类型
| AnyCAD.Foundation.ViewPosition.ViewPosition | ( | Vector2d | pos, |
| EnumPositionType | type ) |
构造函数
| pos | 位置坐标 |
| type | 位置类型 |
| AnyCAD.Foundation.ViewPosition.ViewPosition | ( | uint | x, |
| uint | y, | ||
| EnumPositionType | type ) |
构造函数
| x | x坐标 |
| y | y坐标 |
| type | 位置类型 |
| AnyCAD.Foundation.ViewPosition.ViewPosition | ( | double | x, |
| double | y, | ||
| EnumPositionType | type ) |
构造函数
| x | x坐标 |
| y | y坐标 |
| type | 位置类型 |
| Vector2d AnyCAD.Foundation.ViewPosition.GetAbsoluteValue | ( | uint | winWidth, |
| uint | winHeight ) |
窗口到视口值的转换
| winWidth | 窗口宽度 |
| winHeight | 窗口高度 |