Vector kit command

object.envelope.options

Envelope Options…

Sets envelope options of the selection: fidelity, anti-aliasing, shape preservation and whether appearance, gradients and patterns distort.

Kit
Vector 0.1.0 (.kvector)
Changes the document
yes

Parameters

Parameters of object.envelope.options
NameTypeRequiredDescription
antiAliasbooleanno
bendnumberno
distortAppearancebooleanno
distortLinearGradientsbooleanno
distortPatternFillsbooleannothe last two work with distortAppearance
fidelityintegerno0 to 100
hnumberno
horizontalbooleanno
horizontalDistortionnumbernoread by the command beside its listed parameters
orientationstringnoread by the command beside its listed parameters
preserveShape"clippingMask" | "transparency"no
stylestringno
vnumberno
verticalnumbernoread by the command beside its listed parameters
verticalDistortionnumbernoread by the command beside its listed parameters

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "object.envelope.options" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: antiAlias, bend, distortAppearance, distortLinearGradients, distortPatternFills, fidelity, h, horizontal, horizontalDistortion, orientation, preserveShape, style, v, vertical, verticalDistortion. 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": {
    "antiAlias": {
      "type": "boolean"
    },
    "bend": {
      "type": "number"
    },
    "distortAppearance": {
      "type": "boolean"
    },
    "distortLinearGradients": {
      "type": "boolean"
    },
    "distortPatternFills": {
      "description": "the last two work with distortAppearance",
      "type": "boolean"
    },
    "fidelity": {
      "description": "0 to 100",
      "type": "integer"
    },
    "h": {
      "type": "number"
    },
    "horizontal": {
      "type": "boolean"
    },
    "horizontalDistortion": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "orientation": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "preserveShape": {
      "enum": [
        "clippingMask",
        "transparency"
      ],
      "type": "string"
    },
    "style": {
      "type": "string"
    },
    "v": {
      "type": "number"
    },
    "vertical": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "verticalDistortion": {
      "description": "read by the command beside its listed parameters",
      "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.