Media Server 24.2

# 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))

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Media Server 24.2

Topic Title: drawPolygon