コード例 #1
0
 @Override
 public void paint(SimpleGraphics graphics) {
   int textSize =
       CrossCuttingProperty.getInstance().getProperty(KEY_TEXTSIZE, graphics.getTextSize());
   int textColor =
       CrossCuttingProperty.getInstance().getProperty(KEY_MENUCOLOR, SimpleGraphicUtil.GREEN);
   int x = SimpleCircleControllerMenuPlus.this.getCenterX();
   int y = SimpleCircleControllerMenuPlus.this.getCenterY();
   int radius = SimpleCircleControllerMenuPlus.this.getMinRadius();
   graphics.setTextSize(textSize);
   graphics.setColor(textColor);
   graphics.setStrokeWidth(3);
   graphics.drawCircle(x + mCurrentX, y + mCurrentY, radius * 4 / 5);
   graphics.drawCircle(x + mCurrentX, y + mCurrentY, radius * 3 / 5);
 }