@jlceda/pro-api-types 0.1.109 → 0.1.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +115 -32
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -180,6 +180,11 @@ declare class DMT_EditorControl {
|
|
|
180
180
|
* @returns 操作是否成功
|
|
181
181
|
*/
|
|
182
182
|
mergeAllDocumentFromSplitScreen(): Promise<boolean>;
|
|
183
|
+
/* Excluded from this release type: getCurrentRenderedAreaImage */
|
|
184
|
+
/* Excluded from this release type: zoomToRegion */
|
|
185
|
+
/* Excluded from this release type: zoomTo */
|
|
186
|
+
/* Excluded from this release type: zoomToAllPrimitives */
|
|
187
|
+
/* Excluded from this release type: zoomToSelectedPrimitives */
|
|
183
188
|
}
|
|
184
189
|
|
|
185
190
|
/**
|
|
@@ -196,7 +201,7 @@ declare class DMT_Folder {
|
|
|
196
201
|
* @param teamUuid - 团队 UUID
|
|
197
202
|
* @param parentFolderUuid - 父文件夹 UUID,如若不指定,则为根文件夹
|
|
198
203
|
* @param description - 文件夹描述
|
|
199
|
-
* @returns
|
|
204
|
+
* @returns 文件夹 UUID,如若为 `undefined` 则创建失败
|
|
200
205
|
*/
|
|
201
206
|
createFolder(folderName: string, teamUuid: string, parentFolderUuid?: string, description?: string): Promise<string | undefined>;
|
|
202
207
|
/**
|
|
@@ -311,7 +316,7 @@ declare class DMT_Panel {
|
|
|
311
316
|
*
|
|
312
317
|
* @public
|
|
313
318
|
* @remarks 将会获取当前打开且拥有最后输入焦点的面板的详细属性
|
|
314
|
-
* @returns
|
|
319
|
+
* @returns 面板的详细属性,如若为 `undefined` 则获取失败
|
|
315
320
|
*/
|
|
316
321
|
getCurrentPanelInfo(): Promise<IDMT_PanelItem | undefined>;
|
|
317
322
|
/**
|
|
@@ -413,11 +418,11 @@ declare class DMT_Project {
|
|
|
413
418
|
*
|
|
414
419
|
* @beta
|
|
415
420
|
* @param projectFriendlyName - 工程友好名称
|
|
416
|
-
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线
|
|
421
|
+
* @param projectName - 工程名称,仅支持字母 `a-zA-Z`、数字 `0-9`、中划线 `-`,如若不指定,则根据工程友好名称自动生��
|
|
417
422
|
* @param teamUuid - 团队 UUID,如若不指定,则默认为个人;在不存在个人工程的环境下必须指定团队 UUID
|
|
418
423
|
* @param folderUuid - 文件夹 UUID,如若不指定,则为根文件夹
|
|
419
424
|
* @param description - 工程描述
|
|
420
|
-
* @param collaborationMode -
|
|
425
|
+
* @param collaborationMode - 工程协作模式,如若团队权限无需工程设置协作模式,则该参数将被忽略
|
|
421
426
|
* @returns 工程 UUID,如若为 `undefined` 则创建失败
|
|
422
427
|
*/
|
|
423
428
|
createProject(projectFriendlyName: string, projectName?: string, teamUuid?: string, folderUuid?: string, description?: string, collaborationMode?: EDMT_ProjectCollaborationMode): Promise<string | undefined>;
|
|
@@ -987,6 +992,20 @@ declare enum EPCB_DocumentRatlineCalculatingActiveStatus {
|
|
|
987
992
|
INACTIVE = "inactive"
|
|
988
993
|
}
|
|
989
994
|
|
|
995
|
+
/**
|
|
996
|
+
* 非激活层展示模式
|
|
997
|
+
*
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
declare enum EPCB_InactiveLayerDisplayMode {
|
|
1001
|
+
/** 正常亮度 */
|
|
1002
|
+
NORMAL_BRIGHTNESS = 0,
|
|
1003
|
+
/** 置灰 */
|
|
1004
|
+
TURN_GRAY = 1,
|
|
1005
|
+
/** 隐藏 */
|
|
1006
|
+
HIDE = 2
|
|
1007
|
+
}
|
|
1008
|
+
|
|
990
1009
|
/**
|
|
991
1010
|
* 图层颜色配置
|
|
992
1011
|
*
|
|
@@ -1167,7 +1186,7 @@ declare enum EPCB_LayerId {
|
|
|
1167
1186
|
CUSTOM_28 = 98,
|
|
1168
1187
|
/** 自定义层 29 */
|
|
1169
1188
|
CUSTOM_29 = 99,
|
|
1170
|
-
/**
|
|
1189
|
+
/** ���定义层 30 */
|
|
1171
1190
|
CUSTOM_30 = 100,
|
|
1172
1191
|
/** 夹层(介电基板)1 */
|
|
1173
1192
|
SUBSTRATE_1 = 101,
|
|
@@ -1899,7 +1918,7 @@ declare interface IDMT_ProjectItem extends IDMT_BriefProjectItem {
|
|
|
1899
1918
|
description?: string;
|
|
1900
1919
|
/** 工程内文档数据 */
|
|
1901
1920
|
data: Array<IDMT_BoardItem | IDMT_SchematicItem | IDMT_PcbItem | IDMT_PanelItem>;
|
|
1902
|
-
/**
|
|
1921
|
+
/** 工��协作模式 */
|
|
1903
1922
|
collaborationMode?: EDMT_ProjectCollaborationMode;
|
|
1904
1923
|
}
|
|
1905
1924
|
|
|
@@ -2415,7 +2434,7 @@ declare class IPCB_ComplexPolygon {
|
|
|
2415
2434
|
*/
|
|
2416
2435
|
getSource(): TPCB_PolygonSourceArray | Array<TPCB_PolygonSourceArray>;
|
|
2417
2436
|
/**
|
|
2418
|
-
*
|
|
2437
|
+
* 获��复杂多边形数据
|
|
2419
2438
|
*
|
|
2420
2439
|
* @public
|
|
2421
2440
|
* @remarks 强制返回复杂多边形格式数据,即使它仅包含单一的单多边形
|
|
@@ -2449,6 +2468,8 @@ declare interface IPCB_EqualLengthNetGroupItem {
|
|
|
2449
2468
|
name: string;
|
|
2450
2469
|
/** 网络名称数组 */
|
|
2451
2470
|
nets: Array<string>;
|
|
2471
|
+
/** 等长网络组颜色 */
|
|
2472
|
+
color: string | null;
|
|
2452
2473
|
}
|
|
2453
2474
|
|
|
2454
2475
|
/**
|
|
@@ -2479,6 +2500,22 @@ declare interface IPCB_NetClassItem {
|
|
|
2479
2500
|
name: string;
|
|
2480
2501
|
/** 网络名称数组 */
|
|
2481
2502
|
nets: Array<string>;
|
|
2503
|
+
/** 网络类颜色 */
|
|
2504
|
+
color: string | null;
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
/**
|
|
2508
|
+
* 网络属性
|
|
2509
|
+
*
|
|
2510
|
+
* @public
|
|
2511
|
+
*/
|
|
2512
|
+
declare interface IPCB_NetInfo {
|
|
2513
|
+
/** 网络名称 */
|
|
2514
|
+
net: string;
|
|
2515
|
+
/** 颜色 */
|
|
2516
|
+
color: string | null;
|
|
2517
|
+
/** 长度 */
|
|
2518
|
+
length: number;
|
|
2482
2519
|
}
|
|
2483
2520
|
|
|
2484
2521
|
/**
|
|
@@ -4028,7 +4065,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
|
|
|
4028
4065
|
private width;
|
|
4029
4066
|
/** 高 */
|
|
4030
4067
|
private height;
|
|
4031
|
-
/**
|
|
4068
|
+
/** 旋���角度 */
|
|
4032
4069
|
private rotation;
|
|
4033
4070
|
/** 是否水平镜像 */
|
|
4034
4071
|
private mirror;
|
|
@@ -4067,7 +4104,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
|
|
|
4067
4104
|
*/
|
|
4068
4105
|
getState_TopLeftX(): number | undefined;
|
|
4069
4106
|
/**
|
|
4070
|
-
*
|
|
4107
|
+
* 获取属性状态:左上点 Y
|
|
4071
4108
|
*
|
|
4072
4109
|
* @public
|
|
4073
4110
|
* @returns 左上点 Y
|
|
@@ -4476,7 +4513,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
4476
4513
|
*/
|
|
4477
4514
|
setState_Rotation(rotation: number): IPCB_PrimitivePad;
|
|
4478
4515
|
/**
|
|
4479
|
-
*
|
|
4516
|
+
* 设置属性状��:焊盘外形
|
|
4480
4517
|
*
|
|
4481
4518
|
* @beta
|
|
4482
4519
|
* @remarks
|
|
@@ -4601,7 +4638,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
4601
4638
|
*/
|
|
4602
4639
|
toAsync(): IPCB_PrimitivePad;
|
|
4603
4640
|
/**
|
|
4604
|
-
*
|
|
4641
|
+
* ���图元转换为同步图元
|
|
4605
4642
|
*
|
|
4606
4643
|
* @public
|
|
4607
4644
|
* @returns 焊盘图元对象
|
|
@@ -7063,7 +7100,7 @@ declare class LIB_Device {
|
|
|
7063
7100
|
* 私有化部署环境暂无法使用本接口
|
|
7064
7101
|
* @param lcscIds - 立创 C 编号
|
|
7065
7102
|
* @param libraryUuid - 库 UUID,默认为系统库,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
7066
|
-
* @param allowMultiMatch - 是否允许单个立创 C
|
|
7103
|
+
* @param allowMultiMatch - 是否允许单个立创 C 编号匹配多个���果
|
|
7067
7104
|
* @returns 搜索到的器件属性
|
|
7068
7105
|
*/
|
|
7069
7106
|
getByLcscIds<T extends boolean>(lcscIds: string, libraryUuid?: string, allowMultiMatch?: T): Promise<T extends true ? ILIB_DeviceSearchItem | undefined : Array<ILIB_DeviceSearchItem>>;
|
|
@@ -7124,7 +7161,16 @@ declare class LIB_Footprint {
|
|
|
7124
7161
|
* @returns 操作是否成功
|
|
7125
7162
|
*/
|
|
7126
7163
|
modify(footprintUuid: string, libraryUuid: string, footprintName?: string, classification?: ILIB_ClassificationIndex | null, description?: string | null): Promise<boolean>;
|
|
7127
|
-
|
|
7164
|
+
/**
|
|
7165
|
+
* 更新封装的文档源码
|
|
7166
|
+
*
|
|
7167
|
+
* @beta
|
|
7168
|
+
* @param footprintUuid - 封装 UUID
|
|
7169
|
+
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
7170
|
+
* @param documentSource - 文档源码
|
|
7171
|
+
* @returns 是否更新成功
|
|
7172
|
+
*/
|
|
7173
|
+
updateDocumentSource(footprintUuid: string, libraryUuid: string, documentSource: string): Promise<boolean | undefined>;
|
|
7128
7174
|
/**
|
|
7129
7175
|
* 获取封装的所有属性
|
|
7130
7176
|
*
|
|
@@ -7174,7 +7220,7 @@ declare class LIB_Footprint {
|
|
|
7174
7220
|
* 综合库 / 库列表类
|
|
7175
7221
|
*
|
|
7176
7222
|
* @public
|
|
7177
|
-
* @remarks
|
|
7223
|
+
* @remarks 此处所有接口都基于编辑器当前工作区环境,如需切换到其他工作区,请使用 {@link DMT_Workspace.toggleToWorkspace} 接口切换工作区
|
|
7178
7224
|
*/
|
|
7179
7225
|
declare class LIB_LibrariesList {
|
|
7180
7226
|
/**
|
|
@@ -7342,7 +7388,16 @@ declare class LIB_Symbol {
|
|
|
7342
7388
|
* @returns 操作是否成功
|
|
7343
7389
|
*/
|
|
7344
7390
|
modify(symbolUuid: string, libraryUuid: string, symbolName?: string, classification?: ILIB_ClassificationIndex | null, description?: string | null): Promise<boolean>;
|
|
7345
|
-
|
|
7391
|
+
/**
|
|
7392
|
+
* 更新符号的文档源码
|
|
7393
|
+
*
|
|
7394
|
+
* @beta
|
|
7395
|
+
* @param symbolUuid - 符号 UUID
|
|
7396
|
+
* @param libraryUuid - 库 UUID,可以使用 {@link LIB_LibrariesList} 内的接口获取
|
|
7397
|
+
* @param documentSource - 文档源码
|
|
7398
|
+
* @returns 是否更新成功
|
|
7399
|
+
*/
|
|
7400
|
+
updateDocumentSource(symbolUuid: string, libraryUuid: string, documentSource: string): Promise<boolean | undefined>;
|
|
7346
7401
|
/**
|
|
7347
7402
|
* 获取符号的所有属性
|
|
7348
7403
|
*
|
|
@@ -7365,7 +7420,7 @@ declare class LIB_Symbol {
|
|
|
7365
7420
|
*/
|
|
7366
7421
|
copy(symbolUuid: string, libraryUuid: string, targetLibraryUuid: string, targetClassification?: ILIB_ClassificationIndex, newSymbolName?: string): Promise<string | undefined>;
|
|
7367
7422
|
/**
|
|
7368
|
-
*
|
|
7423
|
+
* 搜索符号
|
|
7369
7424
|
*
|
|
7370
7425
|
* @beta
|
|
7371
7426
|
* @param key - 搜索关键字
|
|
@@ -7553,6 +7608,7 @@ declare class PCB_Document {
|
|
|
7553
7608
|
/* Excluded from this release type: navigateToRegion */
|
|
7554
7609
|
/* Excluded from this release type: getPrimitiveAtPoint */
|
|
7555
7610
|
/* Excluded from this release type: getPrimitivesInRegion */
|
|
7611
|
+
/* Excluded from this release type: zoomToBoardOutline */
|
|
7556
7612
|
}
|
|
7557
7613
|
|
|
7558
7614
|
/**
|
|
@@ -7568,7 +7624,7 @@ declare class PCB_Drc {
|
|
|
7568
7624
|
* @public
|
|
7569
7625
|
* @param strict - 是否严格检查,严格检查时存在 Warning 将返回 `false`,否则返回 `true`
|
|
7570
7626
|
* @param userInterface - 是否显示 UI(呼出底部 DRC 窗口)
|
|
7571
|
-
* @returns DRC
|
|
7627
|
+
* @returns DRC 检查是否无错误
|
|
7572
7628
|
*/
|
|
7573
7629
|
check(strict?: boolean, userInterface?: boolean): Promise<boolean>;
|
|
7574
7630
|
/**
|
|
@@ -7668,7 +7724,7 @@ declare class PCB_Drc {
|
|
|
7668
7724
|
* 覆写网络规则
|
|
7669
7725
|
*
|
|
7670
7726
|
* @beta
|
|
7671
|
-
* @remarks 将会覆写当前 PCB
|
|
7727
|
+
* @remarks 将会覆写当前 PCB 的所有网络规则,请注意数据丢失风险
|
|
7672
7728
|
* @param netRules - 网络规则
|
|
7673
7729
|
* @returns 覆写是否成功
|
|
7674
7730
|
*/
|
|
@@ -7721,9 +7777,10 @@ declare class PCB_Drc {
|
|
|
7721
7777
|
* @beta
|
|
7722
7778
|
* @param netClassName - 网络类名称
|
|
7723
7779
|
* @param nets - 网络名称数组
|
|
7780
|
+
* @param color - 网络类颜色
|
|
7724
7781
|
* @returns 操作是否成功
|
|
7725
7782
|
*/
|
|
7726
|
-
createNetClass(netClassName: string, nets: Array<string
|
|
7783
|
+
createNetClass(netClassName: string, nets: Array<string>, color?: string | null): Promise<boolean>;
|
|
7727
7784
|
/**
|
|
7728
7785
|
* 删除网络类
|
|
7729
7786
|
*
|
|
@@ -7824,9 +7881,10 @@ declare class PCB_Drc {
|
|
|
7824
7881
|
* @beta
|
|
7825
7882
|
* @param equalLengthNetGroupName - 等长网络组名称
|
|
7826
7883
|
* @param nets - 网络名称数组
|
|
7884
|
+
* @param color - 等长网络组颜色
|
|
7827
7885
|
* @returns 操作是否成功
|
|
7828
7886
|
*/
|
|
7829
|
-
createEqualLengthNetGroup(equalLengthNetGroupName: string, nets: Array<string
|
|
7887
|
+
createEqualLengthNetGroup(equalLengthNetGroupName: string, nets: Array<string>, color?: string | null): Promise<boolean>;
|
|
7830
7888
|
/**
|
|
7831
7889
|
* 删除等长网络组
|
|
7832
7890
|
*
|
|
@@ -8034,7 +8092,7 @@ declare class PCB_Layer {
|
|
|
8034
8092
|
* 设置非激活层透明度
|
|
8035
8093
|
*
|
|
8036
8094
|
* @beta
|
|
8037
|
-
* @param transparency -
|
|
8095
|
+
* @param transparency - 透明度,范围 `0-100`
|
|
8038
8096
|
* @returns 操作是否成功
|
|
8039
8097
|
*/
|
|
8040
8098
|
setInactiveLayerTransparency(transparency: number): Promise<boolean>;
|
|
@@ -8092,6 +8150,7 @@ declare class PCB_Layer {
|
|
|
8092
8150
|
* @returns 所有图层的详细属性
|
|
8093
8151
|
*/
|
|
8094
8152
|
getAllLayers(): Promise<Array<IPCB_LayerItem>>;
|
|
8153
|
+
/* Excluded from this release type: setInactiveLayerDisplayMode */
|
|
8095
8154
|
}
|
|
8096
8155
|
|
|
8097
8156
|
/**
|
|
@@ -8489,21 +8548,33 @@ declare class PCB_MathPolygon {
|
|
|
8489
8548
|
* @public
|
|
8490
8549
|
*/
|
|
8491
8550
|
declare class PCB_Net {
|
|
8551
|
+
/* Excluded from this release type: getAllNets */
|
|
8552
|
+
/* Excluded from this release type: getNet */
|
|
8492
8553
|
/**
|
|
8493
8554
|
* 获取所有网络的网络名称
|
|
8494
8555
|
*
|
|
8495
|
-
* @
|
|
8556
|
+
* @public
|
|
8557
|
+
* @returns 网络名称数组
|
|
8558
|
+
*/
|
|
8559
|
+
getAllNetsName(): Promise<Array<string>>;
|
|
8560
|
+
/**
|
|
8561
|
+
* 获取所有网络的网络名称
|
|
8562
|
+
*
|
|
8563
|
+
* @public
|
|
8564
|
+
* @deprecated 请使用 {@link PCB_Net.getAllNetsName | getAllNetsName} 替代
|
|
8496
8565
|
* @returns 网络名称数组
|
|
8497
8566
|
*/
|
|
8498
8567
|
getAllNetName(): Promise<Array<string>>;
|
|
8499
8568
|
/**
|
|
8500
8569
|
* 获取指定网络的长度
|
|
8501
8570
|
*
|
|
8502
|
-
* @
|
|
8571
|
+
* @public
|
|
8503
8572
|
* @param net - 网络名称
|
|
8504
8573
|
* @returns 网络长度,`undefined` 为不存在该网络,`0` 为网络无长度
|
|
8505
8574
|
*/
|
|
8506
8575
|
getNetLength(net: string): Promise<number | undefined>;
|
|
8576
|
+
/* Excluded from this release type: getNetColor */
|
|
8577
|
+
/* Excluded from this release type: setNetColor */
|
|
8507
8578
|
/**
|
|
8508
8579
|
* 获取关联指定网络的所有图元
|
|
8509
8580
|
*
|
|
@@ -8545,7 +8616,7 @@ declare class PCB_Net {
|
|
|
8545
8616
|
/**
|
|
8546
8617
|
* 获取网表
|
|
8547
8618
|
*
|
|
8548
|
-
* @
|
|
8619
|
+
* @public
|
|
8549
8620
|
* @param type - 网表格式
|
|
8550
8621
|
* @returns 网表数据,当 type 为 `JLCEDA` 或 `EasyEDA` 时,返回值为数组
|
|
8551
8622
|
*/
|
|
@@ -8553,7 +8624,7 @@ declare class PCB_Net {
|
|
|
8553
8624
|
/**
|
|
8554
8625
|
* 更新网表
|
|
8555
8626
|
*
|
|
8556
|
-
* @
|
|
8627
|
+
* @public
|
|
8557
8628
|
* @param type - 网表格式
|
|
8558
8629
|
* @param netlist - 网表数据
|
|
8559
8630
|
*/
|
|
@@ -8929,7 +9000,7 @@ declare class PCB_PrimitiveFill implements IPCB_PrimitiveAPI {
|
|
|
8929
9000
|
* @beta
|
|
8930
9001
|
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
|
|
8931
9002
|
* @param primitiveIds - 填充的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
8932
|
-
* @returns
|
|
9003
|
+
* @returns 填充图元对象,空��组表示获取失败
|
|
8933
9004
|
*/
|
|
8934
9005
|
get(primitiveIds: Array<string>): Promise<Array<IPCB_PrimitiveFill>>;
|
|
8935
9006
|
/**
|
|
@@ -9100,7 +9171,7 @@ declare class PCB_PrimitiveLine implements IPCB_PrimitiveAPI {
|
|
|
9100
9171
|
* 获取直线
|
|
9101
9172
|
*
|
|
9102
9173
|
* @beta
|
|
9103
|
-
* @remarks
|
|
9174
|
+
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
|
|
9104
9175
|
* @param primitiveIds - 直线的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
9105
9176
|
* @returns 直线图元对象,空数组表示获取失败
|
|
9106
9177
|
*/
|
|
@@ -9936,7 +10007,19 @@ declare class SCH_Primitive {
|
|
|
9936
10007
|
*/
|
|
9937
10008
|
getPrimitiveByPrimitiveId(id: string): Promise<ISCH_Primitive | undefined>;
|
|
9938
10009
|
/* Excluded from this release type: getPrimitivesByPrimitiveId */
|
|
9939
|
-
|
|
10010
|
+
/**
|
|
10011
|
+
* 获取图元的 BBox
|
|
10012
|
+
*
|
|
10013
|
+
* @beta
|
|
10014
|
+
* @param primitiveIds - 图元 ID 数组或图元对象数组
|
|
10015
|
+
* @returns 图元的 BBox,如若图元不存在或没有 BBox,将会返回 `undefined` 的结果
|
|
10016
|
+
*/
|
|
10017
|
+
getPrimitivesBBox(primitiveIds: Array<string | ISCH_Primitive>): Promise<{
|
|
10018
|
+
minX: number;
|
|
10019
|
+
minY: number;
|
|
10020
|
+
maxX: number;
|
|
10021
|
+
maxY: number;
|
|
10022
|
+
} | undefined>;
|
|
9940
10023
|
}
|
|
9941
10024
|
|
|
9942
10025
|
/**
|
|
@@ -10024,7 +10107,7 @@ declare class SCH_PrimitiveBus implements ISCH_PrimitiveAPI {
|
|
|
10024
10107
|
*
|
|
10025
10108
|
* @beta
|
|
10026
10109
|
* @param busName - 总线名称
|
|
10027
|
-
* @param line -
|
|
10110
|
+
* @param line - 多段线坐标组,每段都是连续的一组 `[x1, y1, x2, y2, x3, y3]` 所描述的线,如若多段线彼此无任何连接则创建将会失败
|
|
10028
10111
|
* @param color - 总线颜色,`null` 表示默认
|
|
10029
10112
|
* @param lineWidth - 线宽,范围 `1-10`,`null` 表示默认
|
|
10030
10113
|
* @param lineType - 线型,`0` 实线,`1` 短划线,`2` 点线,`3` 点划线,`null` 表示默认
|
|
@@ -10319,7 +10402,7 @@ declare class SCH_PrimitiveComponent implements ISCH_PrimitiveAPI {
|
|
|
10319
10402
|
* @param uniqueId - 唯一 ID,`null` 表示留空
|
|
10320
10403
|
* @param manufacturer - 制造商,`null` 表示留空
|
|
10321
10404
|
* @param manufacturerId - 制造商编号,`null` 表示留空
|
|
10322
|
-
* @param supplier -
|
|
10405
|
+
* @param supplier - 供应���,`null` 表示留空
|
|
10323
10406
|
* @param supplierId - 供应商编号,`null` 表示留空
|
|
10324
10407
|
* @returns 器件图元对象
|
|
10325
10408
|
*/
|
|
@@ -11463,7 +11546,7 @@ declare class SYS_PanelControl {
|
|
|
11463
11546
|
*/
|
|
11464
11547
|
openRightPanel(tab?: ESYS_RightPanelTab): void;
|
|
11465
11548
|
/**
|
|
11466
|
-
*
|
|
11549
|
+
* 关闭���侧面板
|
|
11467
11550
|
*
|
|
11468
11551
|
* @public
|
|
11469
11552
|
*/
|
|
@@ -11690,7 +11773,7 @@ declare class SYS_Timer {
|
|
|
11690
11773
|
*/
|
|
11691
11774
|
declare class SYS_ToastMessage {
|
|
11692
11775
|
/**
|
|
11693
|
-
*
|
|
11776
|
+
* 显示吐司消息
|
|
11694
11777
|
*
|
|
11695
11778
|
* @public
|
|
11696
11779
|
* @deprecated 请使用 {@link SYS_Message.showToastMessage} 方法替代
|