@Override protected void outlineShape ( final Graphics graphics ) { final float lineInset = Math.max ( 1.0f, getLineWidthFloat () ) / 2.0f; final int inset1 = (int)Math.floor ( lineInset ); final int inset2 = (int)Math.ceil ( lineInset ); final Rectangle r = Rectangle.SINGLETON.setBounds ( getBounds () ); r.x += inset1; r.y += inset1; r.width -= inset1 + inset2; r.height -= inset1 + inset2; graphics.drawArc ( r, (int)this.start, (int)this.length ); }
@Override protected void outlineShape ( final Graphics graphics ) { final float lineInset = Math.max ( 1.0f, getLineWidthFloat () ) / 2.0f; final int inset1 = (int)Math.floor ( lineInset ); final int inset2 = (int)Math.ceil ( lineInset ); final Rectangle r = Rectangle.SINGLETON.setBounds ( getBounds () ); r.x += inset1; r.y += inset1; r.width -= inset1 + inset2; r.height -= inset1 + inset2; graphics.drawArc ( r, (int)this.start, (int)this.length ); }
case CounterHelper.LIST_T_CIRCLE: drawArea = getDrawAreaForGraph(CIRCLE_DIAMETER, CIRCLE_DIAMETER); g.drawArc(drawArea, 0, 360); break; case CounterHelper.LIST_T_SQUARE: