javaquery/canvas/src/main/java/net/java/html/canvas/spi/GraphicsUtils.java
author Anton Epple <toni.epple@eppleton.de>
Thu, 26 Sep 2013 14:20:18 -0700
branchcanvas
changeset 1302 e67363288df1
child 1303 3d62ad46d744
permissions -rw-r--r--
refactoring for API review
     1 /*
     2  * To change this template, choose Tools | Templates
     3  * and open the template in the editor.
     4  */
     5 package net.java.html.canvas.spi;
     6 
     7 import net.java.html.canvas.GraphicsContext;
     8 import org.apidesign.html.canvas.impl.CnvsAccssr;
     9 
    10 /**
    11  *
    12  * @author antonepple
    13  */
    14 public class GraphicsUtils {
    15 
    16     private GraphicsUtils() {
    17     }
    18     
    19     public static GraphicsContext create(GraphicsEnvironment environment){
    20         return CnvsAccssr.getDefault().create(environment);
    21     }
    22     
    23     
    24 }