toni@1111: /* toni@1111: * To change this template, choose Tools | Templates toni@1111: * and open the template in the editor. toni@1111: */ toni@1111: package net.java.html.canvas; toni@1111: toni@1113: toni@1111: /** toni@1111: * toni@1111: * @author antonepple toni@1111: */ toni@1111: public interface Canvas { toni@1113: toni@1115: GraphicsContext getContext(); toni@1113: toni@1113: int getHeight(); toni@1113: toni@1113: int getWidth(); toni@1113: toni@1113: void setHeight(int height); toni@1113: toni@1113: void setWidth(int width); toni@1111: toni@1111: }