Media Server 25.3
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 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: Drawing Functions