@jlceda/pro-api-types 0.1.139 → 0.1.141
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 +11 -10
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -731,7 +731,7 @@ declare class DMT_Schematic {
|
|
|
731
731
|
* 文档树 / 选择控制类
|
|
732
732
|
*
|
|
733
733
|
* @public
|
|
734
|
-
* @remarks
|
|
734
|
+
* @remarks 在文档树内进行选择焦点的查询、控��
|
|
735
735
|
*/
|
|
736
736
|
declare class DMT_SelectControl {
|
|
737
737
|
/**
|
|
@@ -2864,7 +2864,7 @@ declare interface IPCB_NetInfo {
|
|
|
2864
2864
|
}
|
|
2865
2865
|
|
|
2866
2866
|
/**
|
|
2867
|
-
*
|
|
2867
|
+
* 焊盘对组属��
|
|
2868
2868
|
*
|
|
2869
2869
|
* @public
|
|
2870
2870
|
*/
|
|
@@ -3496,7 +3496,7 @@ declare class IPCB_PrimitiveAttribute implements IPCB_Primitive {
|
|
|
3496
3496
|
*
|
|
3497
3497
|
* @beta
|
|
3498
3498
|
* @param mirror - 是否镜像
|
|
3499
|
-
* @returns
|
|
3499
|
+
* @returns 属性图元对象
|
|
3500
3500
|
*/
|
|
3501
3501
|
setState_Mirror(mirror: boolean): IPCB_PrimitiveAttribute;
|
|
3502
3502
|
/**
|
|
@@ -3892,7 +3892,8 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
3892
3892
|
* @beta
|
|
3893
3893
|
* @returns 器件焊盘图元数组
|
|
3894
3894
|
*/
|
|
3895
|
-
getAllPins(): Promise<IPCB_PrimitiveComponentPad
|
|
3895
|
+
getAllPins(): Promise<Array<IPCB_PrimitiveComponentPad>>;
|
|
3896
|
+
/* Excluded from this release type: setAttribute */
|
|
3896
3897
|
/* Excluded from this release type: setState_Component */
|
|
3897
3898
|
}
|
|
3898
3899
|
|
|
@@ -4777,7 +4778,7 @@ declare class IPCB_PrimitiveObject implements IPCB_Primitive {
|
|
|
4777
4778
|
/* Excluded from this release type: __constructor */
|
|
4778
4779
|
/* Excluded from this release type: create */
|
|
4779
4780
|
/**
|
|
4780
|
-
*
|
|
4781
|
+
* 获取属性状态:图元类���
|
|
4781
4782
|
*
|
|
4782
4783
|
* @public
|
|
4783
4784
|
* @returns 图元类型
|
|
@@ -9947,7 +9948,7 @@ declare class PCB_Document {
|
|
|
9947
9948
|
* 输入数据坐标返回该坐标对应的画布坐标
|
|
9948
9949
|
*
|
|
9949
9950
|
* @public
|
|
9950
|
-
* @remarks 嘉立创 EDA 前端显示的坐标均为画布原点;嘉立创 EDA API 使用的均为数据原点;在创建 PCB
|
|
9951
|
+
* @remarks 嘉立创 EDA 前端显示的坐标均为画布原点;嘉立创 EDA API 使用的均为数据原点;在创建 PCB 时,默认画布原点等于数据原点
|
|
9951
9952
|
* @param x - 数据原点 X
|
|
9952
9953
|
* @param y - 数据原点 Y
|
|
9953
9954
|
* @returns 画布原点坐标
|
|
@@ -10380,7 +10381,7 @@ declare class PCB_Drc {
|
|
|
10380
10381
|
* @param padPairGroupName - 焊盘对组名称
|
|
10381
10382
|
* @param padPair - 焊盘对
|
|
10382
10383
|
* @returns 操作是否成功
|
|
10383
|
-
* @example
|
|
10384
|
+
* @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
|
|
10384
10385
|
* await eda.pcb_Drc.addPadPairToPadPairGroup('test',['e0','e1']) // 游离焊盘-游离焊盘
|
|
10385
10386
|
* await eda.pcb_Drc.addPadPairToPadPairGroup('test',['R1:1','R1:2']) // 器件焊盘 - 器件焊盘
|
|
10386
10387
|
* await eda.pcb_Drc.addPadPairToPadPairGroup('test',['R1:1','e1']) // 器件焊盘 - 游离焊盘
|
|
@@ -11532,7 +11533,7 @@ declare class PCB_PrimitiveImage implements IPCB_PrimitiveAPI {
|
|
|
11532
11533
|
* @remarks 如需创建彩色丝印图像,请使用 {@link PCB_PrimitiveObject | 二进制内嵌对象图元类}
|
|
11533
11534
|
* @param x - BBox 左上点坐标 X
|
|
11534
11535
|
* @param y - BBox 左上点坐标 Y
|
|
11535
|
-
* @param complexPolygon - 图像源数据(复杂多边形),可以使用 {@link PCB_MathPolygon.convertImageToComplexPolygon}
|
|
11536
|
+
* @param complexPolygon - 图像源数据(复杂多边形),可以使用 {@link PCB_MathPolygon.convertImageToComplexPolygon} 方法将图像文件转换为复杂多边形数据
|
|
11536
11537
|
* @param layer - 层
|
|
11537
11538
|
* @param width - 宽
|
|
11538
11539
|
* @param height - 高
|
|
@@ -11934,7 +11935,7 @@ declare class PCB_PrimitivePolyline implements IPCB_PrimitiveAPI {
|
|
|
11934
11935
|
*/
|
|
11935
11936
|
get(primitiveIds: string): Promise<IPCB_PrimitivePolyline | undefined>;
|
|
11936
11937
|
/**
|
|
11937
|
-
*
|
|
11938
|
+
* 获取���线
|
|
11938
11939
|
*
|
|
11939
11940
|
* @beta
|
|
11940
11941
|
* @remarks 如若传入多个图元 ID,任意图元 ID 未匹配到不影响其它图元的返回,即可能返回少于传入的图元 ID 数量的图元对象
|
|
@@ -14308,7 +14309,7 @@ declare class SYS_I18n {
|
|
|
14308
14309
|
*/
|
|
14309
14310
|
isLanguageSupported(language: string): boolean;
|
|
14310
14311
|
/**
|
|
14311
|
-
*
|
|
14312
|
+
* 导入多���言
|
|
14312
14313
|
*
|
|
14313
14314
|
* @public
|
|
14314
14315
|
* @remarks 注意:本接口仅扩展有效,在独立脚本环境内调用将始终 `throw Error`
|