Media Server 24.4
IDOL Media Server Help

# 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.4 | Last updated September 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.4

Topic Title: drawPolygon