author | toni.epple@eppleton.de |
Fri, 17 May 2013 14:09:38 +0200 | |
branch | canvas |
changeset 1120 | b88c003d73e4 |
permissions | -rw-r--r-- |
toni@1120 | 1 |
/** |
toni@1120 | 2 |
* Back 2 Browser Bytecode Translator Copyright (C) 2012 Jaroslav Tulach |
toni@1120 | 3 |
* <jaroslav.tulach@apidesign.org> |
toni@1120 | 4 |
* |
toni@1120 | 5 |
* This program is free software: you can redistribute it and/or modify it under |
toni@1120 | 6 |
* the terms of the GNU General Public License as published by the Free Software |
toni@1120 | 7 |
* Foundation, version 2 of the License. |
toni@1120 | 8 |
* |
toni@1120 | 9 |
* This program is distributed in the hope that it will be useful, but WITHOUT |
toni@1120 | 10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
toni@1120 | 11 |
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more |
toni@1120 | 12 |
* details. |
toni@1120 | 13 |
* |
toni@1120 | 14 |
* You should have received a copy of the GNU General Public License along with |
toni@1120 | 15 |
* this program. Look for COPYING file in the top folder. If not, see |
toni@1120 | 16 |
* http://opensource.org/licenses/GPL-2.0. |
toni@1120 | 17 |
*/ |
toni@1120 | 18 |
package org.apidesign.bck2brwsr.htmlpage.api; |
toni@1120 | 19 |
|
toni@1120 | 20 |
import net.java.html.canvas.GraphicsEnvironment; |
toni@1120 | 21 |
import net.java.html.canvas.Image; |
toni@1120 | 22 |
import net.java.html.canvas.LinearGradient; |
toni@1120 | 23 |
import net.java.html.canvas.Pattern; |
toni@1120 | 24 |
import net.java.html.canvas.RadialGradient; |
toni@1120 | 25 |
import net.java.html.canvas.TextMetrics; |
toni@1120 | 26 |
import org.openide.util.lookup.ServiceProvider; |
toni@1120 | 27 |
|
toni@1120 | 28 |
@ServiceProvider(service=GraphicsEnvironment.class) |
toni@1120 | 29 |
public class HTML5GraphicsEnvironment extends GraphicsEnvironment{ |
toni@1120 | 30 |
|
toni@1120 | 31 |
@Override |
toni@1120 | 32 |
public Image getImageForPath(String path) { |
toni@1120 | 33 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
toni@1120 | 34 |
} |
toni@1120 | 35 |
|
toni@1120 | 36 |
@Override |
toni@1120 | 37 |
public LinearGradient createLinearGradient() { |
toni@1120 | 38 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
toni@1120 | 39 |
} |
toni@1120 | 40 |
|
toni@1120 | 41 |
@Override |
toni@1120 | 42 |
public Pattern createPattern() { |
toni@1120 | 43 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
toni@1120 | 44 |
} |
toni@1120 | 45 |
|
toni@1120 | 46 |
@Override |
toni@1120 | 47 |
public RadialGradient createRadialGradient() { |
toni@1120 | 48 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
toni@1120 | 49 |
} |
toni@1120 | 50 |
|
toni@1120 | 51 |
@Override |
toni@1120 | 52 |
public TextMetrics createTextMetrics() { |
toni@1120 | 53 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
toni@1120 | 54 |
} |
toni@1120 | 55 |
|
toni@1120 | 56 |
} |