@jlceda/pro-api-types 0.1.140 → 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 +10 -9
- 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 图元类型
|
|
@@ -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 数量的图元对象
|
|
@@ -12755,7 +12756,7 @@ declare class SCH_PrimitiveCircle implements ISCH_PrimitiveAPI {
|
|
|
12755
12756
|
*
|
|
12756
12757
|
* @beta
|
|
12757
12758
|
* @param primitiveIds - 圆的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
12758
|
-
* @returns 圆图元对象,`undefined`
|
|
12759
|
+
* @returns 圆图元对象,`undefined` 表示获取失败
|
|
12759
12760
|
*/
|
|
12760
12761
|
get(primitiveIds: string): Promise<ISCH_PrimitiveCircle | undefined>;
|
|
12761
12762
|
/**
|
|
@@ -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`
|