---
title: "paint.proxies: Fill and Stroke — Vector kit command — Kition"
description: "Answers the paints the Fill and Stroke proxies show (from the selection or the defaults for new art) and which is active."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/paint.proxies"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/paint.proxies](https://developer.kition.ai/docs/kits/vector/commands/paint.proxies)

# paint.proxies

**Fill and Stroke.** Answers the paints the Fill and Stroke proxies show (from the selection or the defaults for new art) and which is active.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `on` | `boolean` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "paint.proxies" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `fill` | `object` | no |  |
| `fillActive` | `boolean` | no |  |
| `fillMixed` | `boolean` | no |  |
| `shown` | `any` | no |  |
| `stroke` | `object` | no |  |
| `strokeMixed` | `boolean` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "fill": {
      "additionalProperties": true,
      "properties": {
        "color": {
          "additionalProperties": true,
          "properties": {
            "b": {
              "type": "number"
            },
            "g": {
              "type": "number"
            },
            "model": {
              "type": "string"
            },
            "r": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "fillActive": {
      "type": "boolean"
    },
    "fillMixed": {
      "type": "boolean"
    },
    "shown": {},
    "stroke": {
      "additionalProperties": true,
      "properties": {
        "color": {
          "additionalProperties": true,
          "properties": {
            "b": {
              "type": "number"
            },
            "g": {
              "type": "number"
            },
            "model": {
              "type": "string"
            },
            "r": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "strokeMixed": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    }
  },
  "returns": "{fill, stroke: the paints the Fill/Stroke proxies show (the Appearance panel's active item for the proxy of its kind, else the first selected object's, a group's first painted object's, type: its first run's; else the defaults for new art), fillActive, fillMixed, strokeMixed: the selected objects' (or a selected group's contents') fills (strokes) differ, shown as a \"?\" proxy}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
