randX = randX > textWidth ? randX - textWidth : randX;
randY = randY > textHeight ? randY - textHeight : randY;
}
gc.drawString(text, randX, randY, true);
font.dispose();
// gray donut
gc.setAlpha(100);
Path path = new Path(device);
path.addArc((width - diameter) / 2, (height - diameter) / 2, diameter, diameter, 0, 360);