public void paint(Graphics g) {
		Component comp = getComponent();
		if ((comp instanceof GCanvas) && !((GCanvas) comp).getNativeArcFlag()) {
			renderer.draw(g);
		} else {
			Rectangle r = getAWTBounds();
			int iArcWidth = GMath.round(aWidth);
			int iArcHeight = GMath.round(aHeight);
			if (isFilled()) {
				g.setColor(getFillColor());
				g.fillRoundRect(r.x, r.y, r.width, r.height, iArcWidth, iArcHeight);
				g.setColor(getColor());
			}
			g.drawRoundRect(r.x, r.y, r.width, r.height, iArcWidth, iArcHeight);
		}
	}