WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
ScriptContext
Interface ScriptContext
脚本上下文 - 存储脚本执行时的状态
interface
ScriptContext
{
variables
:
Map
<
string
,
string
|
number
>
;
labels
:
Map
<
string
,
number
>
;
lastPoint
:
Point2D
;
}
Index
Properties
variables
labels
last
Point
Properties
variables
variables
:
Map
<
string
,
string
|
number
>
用户定义的变量
labels
labels
:
Map
<
string
,
number
>
标签位置映射
last
Point
lastPoint
:
Point2D
最后输入的点
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
variables
labels
last
Point
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
脚本上下文 - 存储脚本执行时的状态