giovedì 14 aprile 2011

Gwt canvas a small example

Html Canvas
The canvas is part of the new group of tags coming with html 5. In particular the canvas gives you a way to draw stuff using javaScript. Within a canvas you have tools for:
  • Drawing : rectangles, arcs, lines drawing and more
  • Effects : Shadows, Alpha transparency …
  • Transformations : Scaling, rotation, translation ...

In html 5 you can specify a canvas very easily like in this example:

Nessun commento: