@jlceda/pro-api-types 0.1.65 → 0.1.66
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 +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -815,7 +815,7 @@ declare enum EDMT_EditorDocumentType {
|
|
|
815
815
|
PCB_3D_PREVIEW = 15,
|
|
816
816
|
/** 面板 */
|
|
817
817
|
PANEL = 26,
|
|
818
|
-
/**
|
|
818
|
+
/** 面��� 3D 预览 */
|
|
819
819
|
PANEL_3D_PREVIEW = 27,
|
|
820
820
|
/** 元件符号 */
|
|
821
821
|
SYMBOL_COMPONENT = 2,
|
|
@@ -2416,7 +2416,7 @@ declare class IPCB_PrimitiveComponent implements IPCB_Primitive {
|
|
|
2416
2416
|
private primitiveId?;
|
|
2417
2417
|
/** 关联库器件 */
|
|
2418
2418
|
private component;
|
|
2419
|
-
/**
|
|
2419
|
+
/** 关联库封�� */
|
|
2420
2420
|
private footprint?;
|
|
2421
2421
|
/** 层 */
|
|
2422
2422
|
private layer;
|
|
@@ -7424,7 +7424,7 @@ declare class SCH_PrimitiveText implements ISCH_PrimitiveAPI {
|
|
|
7424
7424
|
* @param bold - 是否加粗
|
|
7425
7425
|
* @param italic - 是否斜体
|
|
7426
7426
|
* @param underLine - 是否加下划线
|
|
7427
|
-
* @param alignMode - 对齐模式,`0` 左顶,`1`
|
|
7427
|
+
* @param alignMode - 对齐模式,`0` 左顶,`1` 中顶,`2` 右顶,`3` 左中,`4` 中中,`5` 右中,`6` 左底,`7` 中底,`8` 右底
|
|
7428
7428
|
* @returns 文本图元对象
|
|
7429
7429
|
*/
|
|
7430
7430
|
create(x: number, y: number, content: string, rotation?: number, textColor?: string | null, fontName?: string | null, fontSize?: number | null, bold?: boolean, italic?: boolean, underLine?: boolean, alignMode?: number): ISCH_PrimitiveText | undefined;
|
|
@@ -8296,7 +8296,7 @@ declare class SYS_WebSocket {
|
|
|
8296
8296
|
* 注册 WebSocket 连接
|
|
8297
8297
|
*
|
|
8298
8298
|
* @public
|
|
8299
|
-
* @remarks
|
|
8299
|
+
* @remarks 可以用来执行前检测 WebSocket 连接是否正常,但需要注意 **不要尝试相同 ID 不同参数的连接**,这会造成混乱:如果存在指定 ID 且处于活跃状态中的 WebSocket 连接,那么其余参数的变更将不会被应用
|
|
8300
8300
|
* @param id - 自定义 WebSocket ID
|
|
8301
8301
|
* @param serviceUri - WebSocket 服务地址
|
|
8302
8302
|
* @param receiveMessageCallFn - 接收到消息时的回调函数
|