eda_sys_math_translate
Translates a polygon by specified X and Y offsets, outputting the resulting discrete point array for use in EasyEDA Pro.
Instructions
sys_Math.translate(polygon: TSYS_MathPolygonInput, dx: number, dy: number) -> Array 平移多边形 returns: 平移后的离散点数组
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |