public interface GralCanvas_ifc
GralCanvasStorage
and by implementation classes.Modifier and Type | Field and Description |
---|---|
static int |
version
Version and history:
2011-11-01 Created.
|
Modifier and Type | Method and Description |
---|---|
void |
drawImage(GralImageBase image,
int x,
int y,
int dx,
int dy,
GralRectangle imagePixelSize) |
void |
drawLine(GralColor color,
int x1,
int y1,
int x2,
int y2)
Accepts a order to draw a line.
|
void |
drawText(java.lang.String text) |
void |
setTextStyle(GralColor color,
GralFont font,
int origin) |
static final int version
void drawLine(GralColor color, int x1, int y1, int x2, int y2)
color
- x1
- TODO yet it is pixel coordinates, use GralGrid coordinates.y1
- x2
- y2
- void drawImage(GralImageBase image, int x, int y, int dx, int dy, GralRectangle imagePixelSize)
void drawText(java.lang.String text)