---
title: Interface: IDrawOptions
source: https://vjmap.com/doc/Interface_IDrawOptions.html
---

# Interface: IDrawOptions

### Indexable

▪ [key: *string*]: *any*

### Table of contents

#### Properties

- [addControls](#addcontrols)
- [api](#api)
- [controls](#controls)
- [guides](#guides)
- [midpoints](#midpoints)
- [modes](#modes)
- [snap](#snap)
- [snapOptions](#snapoptions)
- [styles](#styles)
- [userProperties](#userproperties)

### Properties

#### addControls

• `Optional` **addControls**: *any*[]

___

#### api

• **api**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `getSnapFeatures` | *any* |

___

#### controls

• `Optional` **controls**: *Record*<string, boolean\>

___

#### guides

• `Optional` **guides**: *boolean*

___

#### midpoints

• `Optional` **midpoints**: *boolean*

___

#### modes

• `Optional` **modes**: *Record*<string, any\>

___

#### snap

• `Optional` **snap**: *boolean*

___

#### snapOptions

• **snapOptions**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `snapGridPx?` | *number* |
| `snapPx?` | *number* |
| `snapToMidPoints?` | *boolean* |
| `snapVertexPriorityDistance?` | *number* |

___

#### styles

• `Optional` **styles**: *any*[]

___

#### userProperties

• `Optional` **userProperties**: *boolean*


<a name="interfacesidrawtoolmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / IDrawTool
