- From: Benjamin Joffe <canvasgame@gmail.com>
- Date: Sat, 1 Jul 2006 19:11:47 +1000
Each of the methods defined for the canvas 2d context return null. I think it would be very convenient if instead they would return a reference to the 2d context for that canvas. This would allow writing such code as ctx.fill().stroke() or ctx.moveTo(0,0).lineTo(10,10). This is how many of the native string and array methods work in javaScript. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060701/1c894f18/attachment.htm>
Received on Saturday, 1 July 2006 02:11:47 UTC