javaquery/canvas/src/main/java/net/java/html/canvas/ImageData.java
branchcanvas
changeset 1128 2dc980517b36
parent 1124 4613a6fe2862
child 1130 6790eb381615
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/javaquery/canvas/src/main/java/net/java/html/canvas/ImageData.java	Wed May 22 16:37:51 2013 +0200
     1.3 @@ -0,0 +1,36 @@
     1.4 +/**
     1.5 + * Back 2 Browser Bytecode Translator Copyright (C) 2012 Jaroslav Tulach
     1.6 + * <jaroslav.tulach@apidesign.org>
     1.7 + *
     1.8 + * This program is free software: you can redistribute it and/or modify it under
     1.9 + * the terms of the GNU General Public License as published by the Free Software
    1.10 + * Foundation, version 2 of the License.
    1.11 + *
    1.12 + * This program is distributed in the hope that it will be useful, but WITHOUT
    1.13 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
    1.14 + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
    1.15 + * details.
    1.16 + *
    1.17 + * You should have received a copy of the GNU General Public License along with
    1.18 + * this program. Look for COPYING file in the top folder. If not, see
    1.19 + * http://opensource.org/licenses/GPL-2.0.
    1.20 + */
    1.21 +package net.java.html.canvas;
    1.22 +
    1.23 +
    1.24 +
    1.25 +/**
    1.26 + *
    1.27 + * @author antonepple
    1.28 + */
    1.29 +public interface ImageData {
    1.30 +
    1.31 +    public double getHeight();
    1.32 +
    1.33 +    public double getWidth();
    1.34 +    
    1.35 +    public int getValueAt(double x, double y);
    1.36 +    
    1.37 +    public void setValueAt(double x, double y, int value);
    1.38 +    
    1.39 +}