# ui.Map.DrawingTools.getDrawModes

<br />

Gets the available draw modes on the drawing tool. The available draw mode shapes are: point, line, polygon, and rectangle.

<br />

Returns the list of enabled draw modes.

| Usage | Returns |
|---|---|
| `DrawingTools.getDrawModes()` | List\[String\] |

| Argument | Type | Details |
|---|---|---|
| this: `ui.map.drawingtools` | ui.Map.DrawingTools | The ui.Map.DrawingTools instance. |