| Nom | 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
|
| setEncoding(String senc) | change default encoding
|
| readFile(String f) | action : init and read external file to get draw command
|
| readFile(String f, String enc) | action : init and read external file to get draw command with new encoding value
|
| 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
|
| drawLine(int sz, int x, int y, int x2, int y2, int arrow) |
Draw line with size and arrow (0 : no arrow
/ 1 : left arrow / 2 : right arrow / 3 : left and right arrows)
. |
| drawString(String s, int x, int y) | action : Draw String
|
| drawString(String s, int x, int y, String enc) | action : Draw String with new encoding
|
| drawString(String s, int x, int y, int rot) | Draw String with a rotation
|
| drawRect(int x, int y, int w, int h) | action : Draw rectangle empty
|
| drawRect(int sz, int x, int y, int w, int h) | action : Draw rectangle with a border size "sz"
|
| 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
|
| drawOval(int sz, int x, int y, int w, int h) | action : Draw oval with a border size "sz"
|
| 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
|
| drawImagePart(int iId, int x, int y, int X, int Y, int W, int H) | action : Draw a part of loaded image
|
| fillZone(int x, int y, int color) | action : Fill zone (change Color)
|
| 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
|
| fillZone(int x, int y, int color) | action : Fill zone (change Color)
|
| rotate(int rot) | Active rotation for next draw commands.
|