Media Server 26.2
Media Server Help

# Drawing Functions

This section describes the Lua functions provided by the Draw and Overlay transform engines.

Function | Description
--- | ---
drawEllipse | Draws an ellipse.
drawGeometricPath | Draws a path (a sequence of connected lines).
drawLine | Draws a line.
drawPolygon | Draws a polygon.
drawRectangle | Draws a rectangle.
drawText | Draws text.
fillRectangle | Draws a solid rectangle, obscuring the part of the image underneath the rectangle.
rgb | Returns a color object that can be passed into other drawing functions.
rgba | Returns a color object with an associated opacity value, that can be passed into other drawing functions.

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

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 26.2

Topic Title: Drawing Functions