Notes:
Need a square? We're on it! Just tell us it's center (a TNTPoint), it's side-length, s, a fill color (fcolr, TNTColor) and a stroke (TNTStroke) and we'll dish one up. We can even give it a rotation (rotn in degrees) if you'd like!
Features and Usage:
| Primary Attributes: |
5 Parameters: |
|---|---|
| To Create: |
var theCenter = new TNTPoint(2, 5); |
| To Draw: |
mySquare.drawTNTSquare(context); |
| Comments: |
See it's cousin, TNTTwoTonedSquare This shape, when tiled in a plane, can create some interesting optical illusions. |
