---
title: "graphicStyle.list: List Graphic Styles — Vector kit command — Kition"
description: "Answers every graphic style with its fills, strokes, effects, transparency and the ids of objects linked to it."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/graphicStyle.list"
---

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

# graphicStyle.list

**List Graphic Styles.** Answers every graphic style with its fills, strokes, effects, transparency and the ids of objects linked to it.

- 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 |
| --- | --- | --- | --- |
| `linked` | `boolean` | no | read by the command beside its listed parameters |

## Call through vector_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `or` | `any` | no |  |
| `overrideCharColor` | `boolean` | no |  |
| `selected` | `any` | no |  |
| `styles` | `object[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "or": {},
    "overrideCharColor": {
      "type": "boolean"
    },
    "selected": {},
    "styles": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "blend": {
            "type": "string"
          },
          "effects": {
            "type": "array"
          },
          "fill": {
            "type": "string"
          },
          "fills": {
            "type": "number"
          },
          "id": {
            "type": "number"
          },
          "isolate": {
            "type": "boolean"
          },
          "knockout": {
            "type": "string"
          },
          "linked": {
            "type": "array"
          },
          "name": {
            "type": "string"
          },
          "opacity": {
            "type": "number"
          },
          "stroke": {
            "type": "string"
          },
          "strokeWidth": {
            "type": "number"
          },
          "strokes": {
            "type": "number"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "linked": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    }
  },
  "returns": "{styles: [{id, name, fill, stroke, strokeWidth, fills, strokes, effects: [effect id…], opacity: 0..100, blend, isolate, knockout: \"on\"|\"off\"|\"neutral\", linked: [object ids]}], selected: the style the first selected object is linked to, or null, overrideCharColor}",
  "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).
