void (Graphics2D g, double x, double y, double w, double h, Double arc, StrokeType strokeType, double strokeWidth, Object valueAA, boolean fill) { strokeWidth = JBUIScale.scale((float)strokeWidth); if (arc != null) arc = Double.valueOf(JBUIScale.scale(arc.floatValue())); x = JBUIScale.scale((float)x); y = JBUIScale.scale((float)y); w = JBUIScale.scale((float)w); h = JBUIScale.scale((float)h); if (fill) { RectanglePainter2D.FILL.paint(g, x, y, w, h, arc, strokeType, strokeWidth, valueAA); } else { RectanglePainter2D.DRAW.paint(g, x, y, w, h, arc, strokeType, strokeWidth, valueAA); } }