javaquery/canvas/src/main/java/net/java/html/canvas/Canvas.java
author toni.epple@eppleton.de
Fri, 17 May 2013 12:15:01 +0200
branchcanvas
changeset 1115 ae51a8a61e57
parent 1113 f5e4e1665fa7
child 1119 73041c26cf4d
permissions -rw-r--r--
Extracting methods to the interface...
toni@1111
     1
/*
toni@1111
     2
 * To change this template, choose Tools | Templates
toni@1111
     3
 * and open the template in the editor.
toni@1111
     4
 */
toni@1111
     5
package net.java.html.canvas;
toni@1111
     6
toni@1113
     7
toni@1111
     8
/**
toni@1111
     9
 *
toni@1111
    10
 * @author antonepple
toni@1111
    11
 */
toni@1111
    12
public interface Canvas {
toni@1113
    13
toni@1115
    14
    GraphicsContext getContext();
toni@1113
    15
toni@1113
    16
    int getHeight();
toni@1113
    17
toni@1113
    18
    int getWidth();
toni@1113
    19
toni@1113
    20
    void setHeight(int height);
toni@1113
    21
toni@1113
    22
    void setWidth(int width);
toni@1111
    23
    
toni@1111
    24
}