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
| Name | Type | Required | Description |
|---|---|---|---|
antiAlias | boolean | no | |
bend | number | no | |
distortAppearance | boolean | no | |
distortLinearGradients | boolean | no | |
distortPatternFills | boolean | no | the last two work with distortAppearance |
fidelity | integer | no | 0 to 100 |
h | number | no | |
horizontal | boolean | no | |
horizontalDistortion | number | no | read by the command beside its listed parameters |
orientation | string | no | read by the command beside its listed parameters |
preserveShape | "clippingMask" | "transparency" | no | |
style | string | no | |
v | number | no | |
vertical | number | no | read by the command beside its listed parameters |
verticalDistortion | number | no | read by the command beside its listed parameters |
Call through vector_run
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
{
"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.