roblarsen/CanvasJS — pull request #2 by bobholt (2012-03-30 00:14:49+00:00)
Title: Circle Sugar

Doing todos from circle():
//TODO: it shouldn't always stroke the circle.
//TODO: sugar for strokeCircle and fillCircle

stroke for circle() now depends on passing a non-falsey strokeStyle param

fillCircle() calls circle(), passing normal params, defaulting to current context fillStyle. NO STROKE
strokeCircle() calls circle(), passing normal params, defaulting to current context strokeStyle. NO FILL

Agree that is expected behavior?

Also not sure whether to call circle() and return this or just return the call to circle. Shouldn't matter in practice, but stylistically, what do you prefer?