javaquery/canvas/src/main/java/net/java/html/canvas/spi/GraphicsUtils.java
author Anton Epple <toni.epple@eppleton.de>
Thu, 26 Sep 2013 14:26:58 -0700
branchcanvas
changeset 1303 3d62ad46d744
parent 1302 e67363288df1
permissions -rw-r--r--
license fixes
     1 /**
     2  * Back 2 Browser Bytecode Translator
     3  * Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     4  *
     5  * This program is free software: you can redistribute it and/or modify
     6  * it under the terms of the GNU General Public License as published by
     7  * the Free Software Foundation, version 2 of the License.
     8  *
     9  * This program is distributed in the hope that it will be useful,
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    12  * GNU General Public License for more details.
    13  *
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program. Look for COPYING file in the top folder.
    16  * If not, see http://opensource.org/licenses/GPL-2.0.
    17  */
    18 /*
    19  * To change this template, choose Tools | Templates
    20  * and open the template in the editor.
    21  */
    22 package net.java.html.canvas.spi;
    23 
    24 import net.java.html.canvas.GraphicsContext;
    25 import org.apidesign.html.canvas.impl.CnvsAccssr;
    26 
    27 /**
    28  *
    29  * @author antonepple
    30  */
    31 public class GraphicsUtils {
    32 
    33     private GraphicsUtils() {
    34     }
    35     
    36     public static GraphicsContext create(GraphicsEnvironment environment){
    37         return CnvsAccssr.getDefault().create(environment);
    38     }
    39     
    40     
    41 }