@jlceda/pro-api-types 0.1.140 → 0.1.142
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 +15 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1388,7 +1388,7 @@ declare enum EPCB_PrimitiveDimensionType {
|
|
|
1388
1388
|
* @remarks 网格填充和内电层填充为预留配置
|
|
1389
1389
|
*/
|
|
1390
1390
|
declare enum EPCB_PrimitiveFillMode {
|
|
1391
|
-
/**
|
|
1391
|
+
/** ���心填充 */
|
|
1392
1392
|
SOLID = 0,
|
|
1393
1393
|
/** 网格填充 */
|
|
1394
1394
|
MESH = 1,
|
|
@@ -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
|
/**
|
|
@@ -3580,6 +3580,8 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
3580
3580
|
private supplierId?;
|
|
3581
3581
|
/** 其它参数 */
|
|
3582
3582
|
private otherProperty?;
|
|
3583
|
+
/** 内部:属性可见性 */
|
|
3584
|
+
private _attributeVisible?;
|
|
3583
3585
|
/* Excluded from this release type: __constructor */
|
|
3584
3586
|
/* Excluded from this release type: create */
|
|
3585
3587
|
/**
|
|
@@ -3892,7 +3894,8 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
3892
3894
|
* @beta
|
|
3893
3895
|
* @returns 器件焊盘图元数组
|
|
3894
3896
|
*/
|
|
3895
|
-
getAllPins(): Promise<IPCB_PrimitiveComponentPad
|
|
3897
|
+
getAllPins(): Promise<Array<IPCB_PrimitiveComponentPad>>;
|
|
3898
|
+
/* Excluded from this release type: setAttribute */
|
|
3896
3899
|
/* Excluded from this release type: setState_Component */
|
|
3897
3900
|
}
|
|
3898
3901
|
|
|
@@ -5362,7 +5365,7 @@ declare class IPCB_PrimitivePad implements IPCB_Primitive {
|
|
|
5362
5365
|
* 设置属性状态:焊盘类型
|
|
5363
5366
|
*
|
|
5364
5367
|
* @beta
|
|
5365
|
-
* @param padType -
|
|
5368
|
+
* @param padType - ���盘类型
|
|
5366
5369
|
* @returns 焊盘图元对象
|
|
5367
5370
|
*/
|
|
5368
5371
|
private setState_PadType;
|
|
@@ -5773,7 +5776,7 @@ declare class IPCB_PrimitivePour implements IPCB_Primitive {
|
|
|
5773
5776
|
* @returns 覆铜边框图元对象
|
|
5774
5777
|
*/
|
|
5775
5778
|
done(): Promise<IPCB_PrimitivePour>;
|
|
5776
|
-
/* Excluded from this release type:
|
|
5779
|
+
/* Excluded from this release type: getCopperRegion */
|
|
5777
5780
|
/* Excluded from this release type: rebuildCopperRegion */
|
|
5778
5781
|
/**
|
|
5779
5782
|
* 转换到:填充图元(默认是填充区域)
|
|
@@ -5851,6 +5854,7 @@ declare class IPCB_PrimitivePoured implements IPCB_Primitive {
|
|
|
5851
5854
|
/* Excluded from this release type: done */
|
|
5852
5855
|
/* Excluded from this release type: convertToFill */
|
|
5853
5856
|
/* Excluded from this release type: addSolderMaskFill */
|
|
5857
|
+
/* Excluded from this release type: deletePourFills */
|
|
5854
5858
|
}
|
|
5855
5859
|
|
|
5856
5860
|
/**
|
|
@@ -5996,7 +6000,7 @@ declare class IPCB_PrimitiveRegion implements IPCB_Primitive {
|
|
|
5996
6000
|
*/
|
|
5997
6001
|
setState_LineWidth(lineWidth: number): IPCB_PrimitiveRegion;
|
|
5998
6002
|
/**
|
|
5999
|
-
*
|
|
6003
|
+
* 设置属性状态:是���锁定
|
|
6000
6004
|
*
|
|
6001
6005
|
* @beta
|
|
6002
6006
|
* @param primitiveLock - 是否锁定
|
|
@@ -10377,7 +10381,7 @@ declare class PCB_Drc {
|
|
|
10377
10381
|
* 将焊盘对添加到焊盘对组
|
|
10378
10382
|
*
|
|
10379
10383
|
* @beta
|
|
10380
|
-
* @param padPairGroupName -
|
|
10384
|
+
* @param padPairGroupName - 焊盘��组名称
|
|
10381
10385
|
* @param padPair - 焊盘对
|
|
10382
10386
|
* @returns 操作是否成功
|
|
10383
10387
|
* @example 有三种不同的用法,确保画布上已有对应的焊盘。 分别是 一,游离焊盘-游离焊盘;二,器件焊盘 - 器件焊盘;三,器件焊盘 - 游离焊盘
|
|
@@ -11532,7 +11536,7 @@ declare class PCB_PrimitiveImage implements IPCB_PrimitiveAPI {
|
|
|
11532
11536
|
* @remarks 如需创建彩色丝印图像,请使用 {@link PCB_PrimitiveObject | 二进制内嵌对象图元类}
|
|
11533
11537
|
* @param x - BBox 左上点坐标 X
|
|
11534
11538
|
* @param y - BBox 左上点坐标 Y
|
|
11535
|
-
* @param complexPolygon - 图像源数据(复杂多边形),可以使用 {@link PCB_MathPolygon.convertImageToComplexPolygon}
|
|
11539
|
+
* @param complexPolygon - 图像源数据(复杂多边形),可以使用 {@link PCB_MathPolygon.convertImageToComplexPolygon} 方法将图像文件转换为复杂多边形数据
|
|
11536
11540
|
* @param layer - 层
|
|
11537
11541
|
* @param width - 宽
|
|
11538
11542
|
* @param height - 高
|
|
@@ -12755,7 +12759,7 @@ declare class SCH_PrimitiveCircle implements ISCH_PrimitiveAPI {
|
|
|
12755
12759
|
*
|
|
12756
12760
|
* @beta
|
|
12757
12761
|
* @param primitiveIds - 圆的图元 ID,可以为字符串或字符串数组,如若为数组,则返回的也是数组
|
|
12758
|
-
* @returns 圆图元对象,`undefined`
|
|
12762
|
+
* @returns 圆图元对象,`undefined` 表示获取失败
|
|
12759
12763
|
*/
|
|
12760
12764
|
get(primitiveIds: string): Promise<ISCH_PrimitiveCircle | undefined>;
|
|
12761
12765
|
/**
|
|
@@ -14080,6 +14084,8 @@ declare class SYS_FileManager {
|
|
|
14080
14084
|
* @returns 面板库文件数据,`undefined` 表示数据获取失败
|
|
14081
14085
|
*/
|
|
14082
14086
|
getPanelLibraryFileByPanelLibraryUuid(panelLibraryUuid: string | Array<string>, libraryUuid?: string): Promise<File | undefined>;
|
|
14087
|
+
/* Excluded from this release type: importProjectByProjectFile */
|
|
14088
|
+
/* Excluded from this release type: importProjectByProjectFile */
|
|
14083
14089
|
}
|
|
14084
14090
|
|
|
14085
14091
|
/**
|