Your browser does not support HTML5 Canvas

Notes:

Another common mathematical image in the 'polar coordinates' realm. Study your Precal! This shape is similar to a TNTClover except the shape closes to the center.

TNTRose Features and Usage:
Primary Attributes:

6 Parameters:

  • center: TNTPoint
  • numberOfPetals: an integer
  • petalRadius: a 'double'
  • fillColor: TNTColor (can be null for a framework image)
  • borderStroke: a TNTStroke: to set the border color as well as the thickness of the sides
  • rotationDeg: a 'double' that rotates the image about its center.
    rotn > 0 ==> counter-clockwise; rotn < 0 ==> clockwise
To Create:

The examples above were created by:

var myRose = new TNTRose(origin, 8, 19, pink, magentaStroke, 0);
myRose.drawTNTRose(context);
                                    
To Draw: myClover.drawTNTClover(context);