mgraphicsMGraphics
Available only in the [jsui], [v8ui] objects.
The global mgraphics instance, for rendering shapes and images in custom Max objects.
The MGraphics object combines a virtual drawing canvas with functions to manage drawing to that canvas. In enables you to draw simple shapes, complex paths, text, and images. For more details, see MGraphics and Custom UI Objects.
mgraphics: MGraphics