I need help for my homework
Create a class called Star that represents a graphical depiction of a star. Let the constructor of the star accept the number of points in the star (4,5,6), the radius of the star, and the center point location. Write a program that draws a sky containing various types of stars.
I need help creating these stars. I have no idea where to begin. The only experience I have with these is creating circles and rectangles. Not a star. I really appreciate any help I can get.
Thank you.
|