Notes:
A self-evident shape!
TNTPacMan Features and Usage:
| Primary Attributes: |
8 Parameters:
|
|---|---|
| To Create: |
The example above was created by:
var center = new TNTPoint(0, 0);
var radius = 10;
var mouthAngleDeg = 40;
var fcolr1 = yellow;
var stroke1 = blueStroke;
var fcolr2 = offWhite;
var stroke2 = redStroke;
var rotn = 30;
var myMan = new TNTPacMan(center,
radius, mouthAngleDeg, fcolr1,
fcolr2, stroke1, stroke2, rotn);
myMan.drawTNTPacMan(context);
|
| To Draw: | myMan.drawTNTPacMan(context); |
| Comments: |
There may have been easier 'engines' we could have used to make this shape, but it does work! |
