eda_sch_primitive_text_create
Create a text primitive on a schematic in EasyEDA Pro at specified coordinates with customizable content, rotation, color, font, style, and alignment. Add labels or notes to your schematic design.
Instructions
sch_PrimitiveText.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?: ESCH_PrimitiveTextAlignMode) -> Promise<ISCH_PrimitiveText | undefined> 创建文本 returns: 文本图元对象
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | 按官方签名顺序排列的JSON参数数组 | |
| windowId | No | 目标EDA窗口ID;省略时使用当前活动窗口 |