Function | Description |
init(int w, int h) | action : init image and size definition
|
newImage() | action : init image (clear all)
|
loadImage(String s, int Id) | action : read external image
|
build() | action : build image
|
readFile(String f) | action : read external file to get draw command
|
readData(String f) | action : init and read data in a String to get draw command (for aDraw applet)
|
addData(String data) | read data in a String (for aDraw applet).
|
getArray(int i) | action : get Image in bytes array
|
saveAs(String s) | action : Save image
|
clear() | action : free resources
|
setColor(int i) | action : select color
|
setColor(int r, int g, int b) | action : select color
|
setFont(String face, int style, int size) | action : select font
|
drawLine(int x, int y, int x2, int y2) | action : Draw line
|
drawLine(int sz, int x, int y, int x2, int y2) | draw line with sz size
|
drawString(String s, int x, int y) | action : Draw String
|
drawRect(int x, int y, int w, int h) | action : Draw rectangle empty
|
fillRect(int x, int y, int w, int h) | action : Draw rectangle filled
|
draw3DRect(int x, int y, int w, int h, boolean b) | action : Draw 3D rectangle empty
|
fill3DRect(int x, int y, int w, int h, boolean b) | action : Draw 3D rectangle filled
|
drawRoundRect(int x, int y, int w, int h, int r1, int r2) | action : Draw rounded rectangle empty
|
fillRoundRect(int x, int y, int w, int h, int r1, int r2) | action : Draw rectangle bord arrondi filled
|
drawOval(int x, int y, int w, int h) | action : Draw oval empty
|
fillOval(int x, int y, int w, int h) | action : Draw oval filled
|
drawImage(int iId, int x, int y) | action : Draw a loaded image
|
drawImage(int iId, int x, int y, int w, int h) | action : Draw a loaded image
|
drawArc(int x, int y, int w, int h, int r1, int r2) | action : Draw arc empty
|
fillArc(int x, int y, int w, int h, int r1, int r2) | action : Draw arc filled
|