javaquery/canvas/src/main/resources/net/java/html/canvas/package.html
branchcanvas
changeset 1475 36dce152ef80
parent 1303 3d62ad46d744
     1.1 --- a/javaquery/canvas/src/main/resources/net/java/html/canvas/package.html	Thu Sep 26 14:26:58 2013 -0700
     1.2 +++ b/javaquery/canvas/src/main/resources/net/java/html/canvas/package.html	Tue Feb 18 11:01:08 2014 +0100
     1.3 @@ -20,5 +20,16 @@
     1.4  <html>
     1.5      <body>
     1.6          Universal, flexible, capable, effective, highly efficient Canvas API for any device on the planet (and beyond). 
     1.7 +        The purpose of this API is to create a common interface for drawing to a canvas using Java. Currently there are implementations for JavaFX Canvas and for
     1.8 +        HTML 5 Canvas. You can choose your implementation depending on the availability on your target platform and performance
     1.9 +        requirements.
    1.10 +        
    1.11 +        The entry point is the GraphicsUtils class. It gives you access to the GraphicsContext that you can use to draw.
    1.12 +        Currently you need to pass in a GraphicsEnvironment:
    1.13 +        // JavaFX implementation available here https://github.com/eppleton/FXGameEngine
    1.14 +        GraphicsContext gc = GraphicsUtil.create(new JavaFXGraphicsEnvironment()); 
    1.15 +        
    1.16 +   
    1.17 +       
    1.18      </body>
    1.19  </html>