All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.canvas.package.html Maven / Gradle / Ivy

The newest version!


    
        Universal, flexible, capable, effective, highly efficient Canvas API for any device on the planet (and beyond). 
        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
        HTML 5 Canvas. You can choose your implementation depending on the availability on your target platform and performance
        requirements.

         For HTML5:
        

GraphicsContext2D gc = HTML5Graphics.getOrCreate("canvas");

        
For JavaFX:

GraphicsContext2D gc = JavaFXGraphics.getOrCreate("canvas");




© 2015 - 2024 Weber Informatics LLC | Privacy Policy