[Imps] adding object namespace function on canvas (so we could use them.)

Anne van Kesteren annevk at opera.com
Tue Jan 9 02:25:18 PST 2007


On Tue, 09 Jan 2007 04:59:45 +0100, tee shift <teeshift at gmail.com> wrote:
> Haven't read all the spect yet.
> I wonder if in future canvas will have the feature like the following
>
> beginPath
> circle = arc(30, 50, 0, Math.PI*2, 2)
> endPath
> ........
> circle.moveTo(40,20)
> .....
>
> we could assign name to object we have drawn so we could later change its
> attributes.
> In this example, location but we could change radius, center or size.

The idea of <canvas> is that it doesn't consist of objects, but is just a  
bitmap you can draw upon. If you really want the objects you want SVG.


Also, feedback like this ought to go to whatwg at whatwg.org.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the Implementors mailing list