Loading...
Loading...
Compare original and translation side by side
pip install cli-anything-inkscapepip install cli-anything-inkscapeundefinedundefinedundefinedundefinedcli-anything-inkscapecli-anything-inkscapeundefinedundefined| Command | Description |
|---|---|
| Create a new document |
| Open an existing project |
| Save the current project |
| Show document information |
| List available document profiles |
| Set the canvas size |
| Set the document units |
| Print raw project JSON |
| 命令 | 描述 |
|---|---|
| 创建新文档 |
| 打开现有项目 |
| 保存当前项目 |
| 显示文档信息 |
| 列出可用的文档配置文件 |
| 设置画布尺寸 |
| 设置文档单位 |
| 打印原始项目JSON |
| Command | Description |
|---|---|
| Add a rectangle |
| Add a circle |
| Add an ellipse |
| Add a line |
| Add a polygon |
| Add a path |
| Add a star |
| Remove a shape by index |
| Duplicate a shape |
| List all shapes/objects |
| Get detailed info about a shape |
| 命令 | 描述 |
|---|---|
| 添加矩形 |
| 添加圆形 |
| 添加椭圆 |
| 添加直线 |
| 添加多边形 |
| 添加路径 |
| 添加星形 |
| 通过索引删除形状 |
| 复制形状 |
| 列出所有形状/对象 |
| 获取形状的详细信息 |
| Command | Description |
|---|---|
| Add a text element |
| Set a text property (text, font-family, font-size, fill, etc.) |
| List all text objects |
| 命令 | 描述 |
|---|---|
| 添加文本元素 |
| 设置文本属性(文本内容、字体、字号、填充色等) |
| 列出所有文本对象 |
| Command | Description |
|---|---|
| Set the fill color of an object |
| Set the stroke color (and optionally width) of an object |
| Set the opacity of an object (0.0-1.0) |
| Set an arbitrary style property on an object |
| Get the style properties of an object |
| List all available style properties |
| 命令 | 描述 |
|---|---|
| 设置对象的填充色 |
| 设置对象的描边颜色(可选设置宽度) |
| 设置对象的透明度(0.0-1.0) |
| 设置对象的任意样式属性 |
| 获取对象的样式属性 |
| 列出所有可用的样式属性 |
| Command | Description |
|---|---|
| Translate (move) an object |
| Rotate an object |
| Scale an object |
| Skew an object horizontally |
| Skew an object vertically |
| Get the current transform of an object |
| Clear all transforms from an object |
| 命令 | 描述 |
|---|---|
| 平移(移动)对象 |
| 旋转对象 |
| 缩放对象 |
| 水平倾斜对象 |
| 垂直倾斜对象 |
| 获取对象当前的变换信息 |
| 清除对象的所有变换 |
| Command | Description |
|---|---|
| Add a new layer |
| Remove a layer by index |
| Move an object to a different layer |
| Set a layer property (name, visible, locked, opacity) |
| List all layers |
| Move a layer from one position to another |
| Get detailed info about a layer |
| 命令 | 描述 |
|---|---|
| 添加新图层 |
| 通过索引删除图层 |
| 将对象移动到不同图层 |
| 设置图层属性(名称、可见性、锁定状态、透明度) |
| 列出所有图层 |
| 将图层从一个位置移动到另一个位置 |
| 获取图层的详细信息 |
| Command | Description |
|---|---|
| Union of two objects |
| Intersection of two objects |
| Difference of two objects (A minus B) |
| Exclusion (XOR) of two objects |
| Convert a shape to a path |
| List available path boolean operations |
| 命令 | 描述 |
|---|---|
| 两个对象的并集 |
| 两个对象的交集 |
| 两个对象的差集(A减B) |
| 两个对象的异或集 |
| 将形状转换为路径 |
| 列出可用的路径布尔运算 |
| Command | Description |
|---|---|
| Add a linear gradient |
| Add a radial gradient |
| Apply a gradient to an object |
| List all gradients |
| 命令 | 描述 |
|---|---|
| 添加线性渐变 |
| 添加径向渐变 |
| 为对象应用渐变 |
| 列出所有渐变 |
| Command | Description |
|---|---|
| Render the document to PNG |
| Export the document as SVG |
| Export the document as PDF (requires Inkscape) |
| List export presets |
| 命令 | 描述 |
|---|---|
| 将文档渲染为PNG格式 |
| 将文档导出为SVG格式 |
| 将文档导出为PDF格式(需要安装Inkscape) |
| 列出导出预设 |
| Command | Description |
|---|---|
| Show session status |
| Undo the last operation |
| Redo the last undone operation |
| Show undo history |
| 命令 | 描述 |
|---|---|
| 显示会话状态 |
| 撤销上一步操作 |
| 重做上一步撤销的操作 |
| 显示撤销历史 |
cli-anything-inkscape project new -o myproject.jsoncli-anything-inkscape project new -o myproject.jsonundefinedundefinedcli-anything-inkscapecli-anything-inkscapeundefinedundefinedcli-anything-inkscape --project myproject.json export render output.pdf --overwritecli-anything-inkscape --project myproject.json export render output.pdf --overwrite--jsonundefined--jsonundefinedundefinedundefined--json--json