# drawPolygon

The `drawPolygon` method draws a polygon.

## Syntax

    drawPolygon( polygon, thickness, color )

## Arguments

Argument | Description
--- | ---
`polygon` | The location of the polygon in the input records.
`thickness` | The line thickness, in pixels.
`color` | The line color. See the function rgb.

## Returns

Nothing.

## Example

    drawPolygon(record.NumberPlateResultAndImage.numberplate.readregion, 4, rgb(255, 255, 255))

_FT_HTML5_bannerTitle.htm