Notes:
Take a few sectors, vary their radii in an alternating fashion and automate the process with a loop and you get a bunch of sector-petals...the TNTSpetal!
Features and Usage:
| Primary Attributes: |
7 parameters: The 'ratio' is the fraction of the smallerPetalLength to the largerPetalLength |
|---|---|
| To Create: |
purpleStroke.lineWidth = .5; |
| To Draw: |
mySectorPetal.drawTNTSpetal(context); |
| Comments: | Remember a 'double' is a real-valued number in the specifications. The 3rd parameter, numPetals, must be 'integer' in nature and greater than zero, otherwise the code won't work. Try it and see! |
| Even More: | This shape was used by a novice in a clever wallpaper design. |
