Home > SCH_Document > navigateToCoordinates
SCH_Document.navigateToCoordinates() method
This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
定位到画布坐标
Signature
typescript
public navigateToCoordinates(x: number, y: number): Promise<boolean>;1
Parameters
Parameter | Type | Description |
|---|---|---|
x | number | 坐标 X |
y | number | 坐标 Y |
Returns
Promise<boolean>
操作是否成功
Remarks
本接口在前端画布上定位到指定的坐标;
此处的单位跨度为 0.01inch ADD since EDA v4.2