Closed GoogleCodeExporter closed 8 years ago
r262: Renamed draw => makePath, drawDotted => makeDottedPath, drawDashed =>
makeDashedPath,
drawCommands => pathCommands.
Original comment by ryandesi...@gmail.com
on 19 May 2009 at 11:57
r265: Updated Canviz to take these changes into account.
Original comment by ryandesi...@gmail.com
on 19 May 2009 at 1:35
r269: Path now has a draw() method that actually draws. Path constructors now
take an
optional argument options, where you can specify anything that could apply to a
context, and also the "x_" options that are unique to Path:
* x_fill (do you want it filled? default: false)
* x_stroke (do you want it stroked? default: true)
* x_strokeType ('solid' (default), 'dashed' or 'dotted')
* x_dashLength (for dashed strokes; default: 6, measured in pixels)
* x_dotSpacing (for dotted strokes; default: 4, measured in pixels)
The defaults for dash length and dot spacing may change. I opted not to do
anything
clever, so if you want a Path filled, you do have to set both x_fill and
(unless you
want black) fillStyle.
Original comment by ryandesi...@gmail.com
on 24 May 2009 at 5:43
firstDistance and drawFirst have not been dealt with, but I can add those later
if
necessary.
Original comment by ryandesi...@gmail.com
on 24 May 2009 at 6:33
Original issue reported on code.google.com by
ryandesi...@gmail.com
on 19 May 2009 at 11:46