# 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm