Media Server 12.12

# 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 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Media Server 12.12

Topic Title: Drawing Functions