Drawing on Canvas
Activating the Canvas
(TO BE IMPLEMENTED, right now canvas is triggered using a Markdown tag in the content)
Basic Drawing
Use stroke to stroke paths.
Use fill to fill paths with current color.
Use color to select color for the subsequent operations. Default color is "black".
Use marker to select the stroke width.
Draw a Single Point
It may be a little hard to see a single pixel on the canvas, so use the marker command to increase the stroke width:
console
In the case of points, stroke and fill work the same way.
Draw a Rectangle
console
Draw a Circle
console