Surface surface = getPrimarySurface();
int size = surface.getWidth();
matrix.setIdentity();
surface.setTransform(matrix);
surface.fillRectangle(0, 0, size, size)
.setTransform(matrix.mutableTranslate(size / 2, size / 2))
.clipShape(new CircleShape(0, 0, size / 2.0 * .8));
Gradient gradient = new LinearGradient(0, -size / 2, 0, size / 2)
.addColorStop(0, new Color(35, 34, 86))