---
title: "file.rasterEffectsSettings: Document Raster Effects Settings… — Vector kit command — Kition"
description: "Sets the document's raster effects settings: resolution, colour model, background, anti-aliasing and clipping mask."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/file.rasterEffectsSettings"
---

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

# file.rasterEffectsSettings

**Document Raster Effects Settings….** Sets the document's raster effects settings: resolution, colour model, background, anti-aliasing and clipping mask.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `addAround` | `number` | no | points; 0–1000, room around the art |
| `antiAlias` | `boolean` | no | off: hard edges |
| `background` | `"transparent" \| "white"` | no |  |
| `clippingMask` | `boolean` | no | white background only under the art; Rasterize clips to the art |
| `colorModel` | `"rgb" \| "cmyk" \| "grayscale" \| "bitmap"` | no | the document's mode |
| `high` | `any` | no | 300; one of several alternative parameters |
| `medium` | `any` | no | 150; one of several alternative parameters |
| `ppi` | `number` | no | read by the command beside its listed parameters |
| `preserveSpotColors` | `boolean` | no | stored |
| `resolution` | `number \| "screen" \| "medium" \| "high"` | no |  |
| `screen` | `any` | no | 72; one of several alternative parameters |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `addAround`, `antiAlias`, `background`, `clippingMask`, `colorModel`, `high`, `medium`, `ppi`, `preserveSpotColors`, `resolution`, `screen`. 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": {
    "addAround": {
      "description": "points; 0–1000, room around the art",
      "type": "number"
    },
    "antiAlias": {
      "description": "off: hard edges",
      "type": "boolean"
    },
    "background": {
      "enum": [
        "transparent",
        "white"
      ],
      "type": "string"
    },
    "clippingMask": {
      "description": "white background only under the art; Rasterize clips to the art",
      "type": "boolean"
    },
    "colorModel": {
      "description": "the document's mode",
      "enum": [
        "rgb",
        "cmyk",
        "grayscale",
        "bitmap"
      ],
      "type": "string"
    },
    "high": {
      "description": "300; one of several alternative parameters"
    },
    "medium": {
      "description": "150; one of several alternative parameters"
    },
    "ppi": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "preserveSpotColors": {
      "description": "stored",
      "type": "boolean"
    },
    "resolution": {
      "oneOf": [
        {
          "type": "number"
        },
        {
          "enum": [
            "screen",
            "medium",
            "high"
          ],
          "type": "string"
        }
      ]
    },
    "screen": {
      "description": "72; one of several alternative parameters"
    }
  },
  "returns": "the settings",
  "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).
