Vector kit command

appearance.newArt

New Art Appearance

Answers the appearance, opacity, blend and graphic style the next object drawn will get.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

None.

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "appearance.newArt" }]
}

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 appearance.newArt
NameTypeRequiredDescription
appearanceobjectno
basicbooleanno
blendstringno
graphicStyleanyno
inheritedbooleanno
opacitynumberno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "appearance": {
      "additionalProperties": true,
      "properties": {
        "items": {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "basic": {
      "type": "boolean"
    },
    "blend": {
      "type": "string"
    },
    "graphicStyle": {},
    "inherited": {
      "type": "boolean"
    },
    "opacity": {
      "type": "number"
    }
  },
  "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.