Vector kit command
symbol.adjust
Symbolism Tool
Adjusts symbol instances near points with a symbolism tool: shift, scrunch, size, spin, stain, screen or style.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
alt | boolean | no | |
color | string | no | |
intensity | integer | no | 1 to 10; 5 |
points | any[] | no | |
radius | integer | no | |
style | string | no | |
tool | "shift" | "scrunch" | "size" | "spin" | "stain" | "screen" | "style" | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "symbol.adjust" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: alt, color, intensity, points, radius, style, tool. vector_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": {
"alt": {
"type": "boolean"
},
"color": {
"type": "string"
},
"intensity": {
"description": "1 to 10; 5",
"type": "integer"
},
"points": {
"type": "array"
},
"radius": {
"default": 40,
"type": "integer"
},
"style": {
"type": "string",
"x-khp-name": "name",
"x-khp-types": [
"GraphicStyle"
]
},
"tool": {
"enum": [
"shift",
"scrunch",
"size",
"spin",
"stain",
"screen",
"style"
],
"type": "string"
}
},
"returns": "{count}",
"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.