Mike Edwards wrote:
I need to use javascript's graphics API to draw the letters of
the alphabet. If necessary, I can map out all 26 letters myself
and use drawline() to draw them, but I am hoping someone out
there might have a better suggestion. The user will click a spot
on the canvas, and the script will draw one of the letters at
that spot.
thanks,
mike
JavaScript has no API for drawing lines. However some people have
written client-side JavaScript which manipulates DIVs to simulate the
drawing of lines and more complex shapes <url:
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm />
However, given the use of the word "canvas" makes me think you mean
you want to do this in Java, not JavaScript.
--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ -
http://jibbering.com/faq