---
title: "AnnotSpec"
version: "0.9.0"
url: "https://docs.laminapdf.com/reference/sdk/type-aliases/annotspec/"
---

# AnnotSpec

```ts
type AnnotSpec = AnnotSpecJs;
```

Defined in: [packages/sdk/src/types.ts:285](https://github.com/laudebugs/laminapdf/blob/v0.9.0/packages/sdk/src/types.ts#L285)

What an annotation edit draws, in user space: `{ type: "textMarkup", kind, quads }`,
`{ type: "note", at, icon, open }`, `{ type: "caret", rect, symbol }`, `{ type: "ink",
strokes, width, smoothing }`, `{ type: "shape", kind, rect, interior, border }`,
`{ type: "line", from, to, ends, interior, border, leader }` or `{ type: "poly", kind,
vertices, ends, interior, border }`.

## Since

0.3.0
