class Star extends Rectangle { int n; // number of stars int centerX,centerY; // xy-coordinates of the center int X0,Y0; // xy-coordinate of one of the angles int angle0; // the angle of one of the angles int smallDiameter; // diameter of the inner circle int largeDiameter; // diameter of the outer circle boolean fill; // fill or not }