Media Server 25.3
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 2025 Open Text
Version 25.3 | Last updated July 2025

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: Knowledge Discovery Media Server 25.3

Topic Title: drawPolygon