Paint the graphic. This paints the graphic into the Graphics context. This is similar to
paint()
function of java.awt.Components. Note that if the graphic has not been generated, it will not be rendered.
This method used to be abstract, but with the conversion of OMGraphics to internally represent themselves as java.awt.Shape objects, it's a more generic method. If the OMGraphic hasn't been updated to use Shape objects, it should have its own render method.
@param g Graphics2D context to render into.