# ImageEditorRedactAnnotation (@salmonui/editors/image-editor)

> The ImageEditorRedactAnnotation interface of @salmonui/editors/image-editor: Redaction: burned into the pixels below it on render and export.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorRedactAnnotation

```ts
import type { ImageEditorRedactAnnotation } from '@salmonui/editors/image-editor';
```

Entry index: https://salmonui.dev/docs/reference/editors/image-editor (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/image-editor.md).

## Reference

Kind: interface

```ts
interface ImageEditorRedactAnnotation extends AnnotationCommon {
    readonly kind: 'redact';
    readonly x: number;
    readonly y: number;
    readonly width: number;
    readonly height: number;
    readonly mode?: 'blur' | 'pixelate' | undefined;
    readonly strength?: number | undefined;
}
```

Redaction: burned into the pixels below it on render and export.

Members (10):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `kind` | `readonly kind: 'redact';` |  |  |
| `x` | `readonly x: number;` |  |  |
| `y` | `readonly y: number;` |  |  |
| `width` | `readonly width: number;` |  |  |
| `height` | `readonly height: number;` |  |  |
| `mode` | `readonly mode?: 'blur' \| 'pixelate' \| undefined;` | optional | Default `'blur'`. |
| `strength` | `readonly strength?: number \| undefined;` | optional | Blur radius or pixel block size in oriented-image pixels. Default 12. |
| `id` | `id: string;` | inherited | Stable id; selection, history and callbacks use it. |
| `rotation` | `rotation?: number;` | optional, inherited | Clockwise degrees around the annotation's center. Default 0. |
| `opacity` | `opacity?: number;` | optional, inherited | 0 to 1. Default 1. |
