Closed shapes that are drawn on the control can be filled with a color or a mix of colors. You can fill a rectangle shape with a color by using FillRectangle() method. Filling an ellipse can be done with FillEllipse() method and FillPie() method to fill the pie shape.
Example: Filling the rectangle, ellipse, and pie shapes with different colors.
This website intents to provide free and high quality tutorials, examples, exercises and solutions, questions and answers of programming and scripting languages: