blob: be6048b24f62abe73ce075afdcdb9bd520d603d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
package fractals;
/**
*
* @author Sjaak Smetsers
* @version 1.0, 13-03-2013
*/
/**
* An interface providing a context for drawing
* pictures pixel-wise
*/
public interface Grid {
/**
* setPixel puts a pixel on the specified location
* @param x, y coordinates of the location
* @param rgb the color specified as an rgb value
*/
void setPixel (int x, int y, int [] rgb);
/**
* @return the width of the grid
*/
int getWidth ();
/**
* @return the height of the grid
*/
int getHeight ();
}
|