In this tutorial we are going to show how to draw rectangles or squares with round corners. We will start by drawing the bottom straight-line with blue color. The following
Draw a petal shape as shown. Trick here is use circle() function’s extent parameter to draw an arc of a circle and then call setheading() function with opposite (+180 degrees)