Vector kit command

stroke.widthProfile.list

Width Profiles

Answers the width profiles (built-in and saved) with their width points, and which one the selected stroke uses.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

None.

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "stroke.widthProfile.list" }]
}

The required parameters, with placeholders for their types: not a tested example. vector_run answers the step’s result in completed[i].result.

Result

Result of stroke.widthProfile.list
NameTypeRequiredDescription
currentstringno
customanyno
nullanyno
profilesobject[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "current": {
      "type": "string"
    },
    "custom": {},
    "null": {},
    "profiles": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "builtIn": {
            "type": "boolean"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "points": {
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}

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