Design kit command

vector.edit.pen

Pen point

Adds a pen point at a page point (with a handle drag), continuing from the pen's open end.

Kit
Design 0.1.0 (.kdesign)
Changes the document
yes

Parameters

Parameters of vector.edit.pen
NameTypeRequiredDescription
dxnumberno
dynumbernohandle drag
xnumberno
ynumbernopage

Call through design_run

text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "vector.edit.pen" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: dx, dy, x, y. design_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "dx": {
      "type": "number"
    },
    "dy": {
      "description": "handle drag",
      "type": "number"
    },
    "x": {
      "type": "number"
    },
    "y": {
      "description": "page",
      "type": "number"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (design_commands through @kition/[email protected], built from KitionAI/kition-design@abc7e16). As data: commands.jsonl.