1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/javaquery/canvas/src/main/java/net/java/html/canvas/spi/GraphicsUtils.java Thu Sep 26 14:20:18 2013 -0700
1.3 @@ -0,0 +1,24 @@
1.4 +/*
1.5 + * To change this template, choose Tools | Templates
1.6 + * and open the template in the editor.
1.7 + */
1.8 +package net.java.html.canvas.spi;
1.9 +
1.10 +import net.java.html.canvas.GraphicsContext;
1.11 +import org.apidesign.html.canvas.impl.CnvsAccssr;
1.12 +
1.13 +/**
1.14 + *
1.15 + * @author antonepple
1.16 + */
1.17 +public class GraphicsUtils {
1.18 +
1.19 + private GraphicsUtils() {
1.20 + }
1.21 +
1.22 + public static GraphicsContext create(GraphicsEnvironment environment){
1.23 + return CnvsAccssr.getDefault().create(environment);
1.24 + }
1.25 +
1.26 +
1.27 +}