Graphics
< HTML 5
< Professional
< markmmullin
Get flash to fully experience Pearltrees
Recent Updates Follow @ Create JS February 2013 EaselJS 0.6.0 available August 2012 EaselJS 0.5.0 available Stage.enableDOMEvents now checks for a .canvas before adding any listeners (previously only checked before adding the canvas listener).
Rectangles (simple shapes) HTML Canvas 2D Context specification: Section 8 Simple shapes (rectangles) context.clearRect(x, y, w, h) Clears all pixels on the canvas in the given rectangle to transparent black. context.fillRect(x, y, w, h) Paints the given rectangle onto the canvas, using the current fill style. context.strokeRect(x, y, w, h))