javaquery/canvas/src/main/resources/net/java/html/canvas/package.html
author Anton Epple <toni.epple@eppleton.de>
Tue, 18 Feb 2014 11:01:08 +0100
branchcanvas
changeset 1475 36dce152ef80
parent 1303 3d62ad46d744
permissions -rw-r--r--
Y01 Improved Package documentation
     1 <!--
     2 
     3     Back 2 Browser Bytecode Translator
     4     Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     5 
     6     This program is free software: you can redistribute it and/or modify
     7     it under the terms of the GNU General Public License as published by
     8     the Free Software Foundation, version 2 of the License.
     9 
    10     This program is distributed in the hope that it will be useful,
    11     but WITHOUT ANY WARRANTY; without even the implied warranty of
    12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    13     GNU General Public License for more details.
    14 
    15     You should have received a copy of the GNU General Public License
    16     along with this program. Look for COPYING file in the top folder.
    17     If not, see http://opensource.org/licenses/GPL-2.0.
    18 
    19 -->
    20 <html>
    21     <body>
    22         Universal, flexible, capable, effective, highly efficient Canvas API for any device on the planet (and beyond). 
    23         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
    24         HTML 5 Canvas. You can choose your implementation depending on the availability on your target platform and performance
    25         requirements.
    26         
    27         The entry point is the GraphicsUtils class. It gives you access to the GraphicsContext that you can use to draw.
    28         Currently you need to pass in a GraphicsEnvironment:
    29         // JavaFX implementation available here https://github.com/eppleton/FXGameEngine
    30         GraphicsContext gc = GraphicsUtil.create(new JavaFXGraphicsEnvironment()); 
    31         
    32    
    33        
    34     </body>
    35 </html>