/** * Draws the specified shape into the provided Graphics context, using * stroke and fill color values from the specified VisualItem. This method * can be called by subclasses in custom rendering routines. */ protected void drawShape(Graphics2D g, VisualItem item, Shape shape) { GraphicsLib.paint(g, item, shape, getStroke(item), getRenderType(item)); }