             this.y - this.radius * Math.cos(angle)));
                angle += 2*Math.PI/this.sides;
            }
            return points;
        },

        createPath: function (context) {
            var points = this.getPoints();

            context.beginPath();

            context.moveTo(points[0].x, points[0].y);

            for (var i=1; i < this.sides; ++i) {
                context.lineTo(points[i].x, points[i].y);
            }

            context.closePath();
        },

        stroke: 