| java.lang.Object de.anomic.ymage.ymageMatrix
All known Subclasses: de.anomic.ymage.ymageChart, de.anomic.ymage.ymageCaptcha,
ymageMatrix | public class ymageMatrix (Code) | | |
Constructor Summary | |
public | ymageMatrix(int width, int height, byte drawMode, String backgroundColor) | public | ymageMatrix(int width, int height, byte drawMode, long backgroundColor) |
Method Summary | |
public void | antialiasing(int lox, int loy, int rux, int ruy, int bgcolor) | public void | arc(int x, int y, int innerRadius, int outerRadius, int fromArc, int toArc) | public void | arcArc(int cx, int cy, int arcRadius, int angle, int innerRadius, int outerRadius, int fromArc, int toArc) | public void | arcDot(int cx, int cy, int arcRadius, int angle, int dotRadius) | public void | arcLine(int cx, int cy, int innerRadius, int outerRadius, int angle) | public void | blur(int lox, int loy, int rux, int ruy) | public void | clear() | public static void | demoPaint(ymageMatrix m) | public void | dot(int x, int y, int radius, boolean filled) | public static serverByteBuffer | exportImage(BufferedImage image, String targetExt) | public int[] | getColor(int x, int y) | public int | getHeight() | public BufferedImage | getImage() | public int | getWidth() | public void | insertBitmap(BufferedImage bitmap, int x, int y) | public void | insertBitmap(BufferedImage bitmap, int x, int y, byte filter) | public void | insertBitmap(BufferedImage bitmap, int x, int y, int xx, int yy) | public void | insertBitmap(BufferedImage bitmap, int x, int y, int xx, int yy, byte filter) | public void | insertBitmap(BufferedImage bitmap, int x, int y, int transRGB) | public void | insertBitmap(BufferedImage bitmap, int x, int y, int transRGB, byte filter) | public void | invert(int lox, int loy, int rux, int ruy) | public void | line(int Ax, int Ay, int Bx, int By) | public void | lineDot(int x0, int y0, int x1, int y1, int radius, int distance, long lineColor, long dotColor) | public static void | main(String[] args) | public void | plot(int x, int y) | public void | plot(int x, int y, int intensity) | public void | setColor(long c) | public void | setColor(String s) |
BLUE | final public static long BLUE(Code) | | |
FILTER_ANTIALIASING | final public static byte FILTER_ANTIALIASING(Code) | | |
FILTER_BLUR | final public static byte FILTER_BLUR(Code) | | |
FILTER_INVERT | final public static byte FILTER_INVERT(Code) | | |
GREEN | final public static long GREEN(Code) | | |
GREY | final public static long GREY(Code) | | |
MODE_ADD | final public static byte MODE_ADD(Code) | | |
MODE_REPLACE | final public static byte MODE_REPLACE(Code) | | |
MODE_SUB | final public static byte MODE_SUB(Code) | | |
RED | final public static long RED(Code) | | |
widthheight | protected int widthheight(Code) | | |
ymageMatrix | public ymageMatrix(int width, int height, byte drawMode, String backgroundColor)(Code) | | |
ymageMatrix | public ymageMatrix(int width, int height, byte drawMode, long backgroundColor)(Code) | | |
antialiasing | public void antialiasing(int lox, int loy, int rux, int ruy, int bgcolor)(Code) | | antialiasing filter for a square part of the ymageMatrix
Parameters: lox - x value for left upper coordinate Parameters: loy - y value for left upper coordinate Parameters: rux - x value for right lower coordinate Parameters: ruy - y value for right lower coordinate Parameters: rgb - color of background author: Marc Nause |
arc | public void arc(int x, int y, int innerRadius, int outerRadius, int fromArc, int toArc)(Code) | | |
arcArc | public void arcArc(int cx, int cy, int arcRadius, int angle, int innerRadius, int outerRadius, int fromArc, int toArc)(Code) | | |
arcDot | public void arcDot(int cx, int cy, int arcRadius, int angle, int dotRadius)(Code) | | |
arcLine | public void arcLine(int cx, int cy, int innerRadius, int outerRadius, int angle)(Code) | | |
blur | public void blur(int lox, int loy, int rux, int ruy)(Code) | | blur filter for a square part of the ymageMatrix
Parameters: lox - x value for left upper coordinate Parameters: loy - y value for left upper coordinate Parameters: rux - x value for right lower coordinate Parameters: ruy - y value for right lower coordinate author: Marc Nause |
clear | public void clear()(Code) | | |
dot | public void dot(int x, int y, int radius, boolean filled)(Code) | | |
getColor | public int[] getColor(int x, int y)(Code) | | |
getHeight | public int getHeight()(Code) | | |
getWidth | public int getWidth()(Code) | | |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y)(Code) | | inserts an image into the ymageMatrix
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed author: Marc Nause |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y, byte filter)(Code) | | inserts an image into the ymageMatrix
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: filter - chooses filter author: Marc Nause |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y, int xx, int yy)(Code) | | inserts an image into the ymageMatrix where all pixels that have the same RGB value as the
pixel at (xx, yy) are transparent
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: xx - the x value of the pixel that determines which color is transparent Parameters: yy - the y value of the pixel that determines which color is transparent author: Marc Nause |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y, int xx, int yy, byte filter)(Code) | | inserts an image into the ymageMatrix where all pixels that have the same RGB value as the
pixel at (xx, yy) are transparent
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: xx - the x value of the pixel that determines which color is transparent Parameters: yy - the y value of the pixel that determines which color is transparent Parameters: filter - chooses filter author: Marc Nause |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y, int transRGB)(Code) | | inserts an image into the ymageMatrix where all pixels that have a special RGB value
pixel at (xx, yy) are transparent
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: rgb - the RGB value that will be transparent author: Marc Nause |
insertBitmap | public void insertBitmap(BufferedImage bitmap, int x, int y, int transRGB, byte filter)(Code) | | inserts an image into the ymageMatrix where all pixels that have a special RGB value
pixel at (xx, yy) are transparent
Parameters: bitmap - the bitmap to be inserted Parameters: x - the x value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: y - the y value of the upper left coordinate in the ymageMatrix where the bitmap will be placed Parameters: rgb - the RGB value that will be transparent Parameters: filter - chooses filter author: Marc Nause |
invert | public void invert(int lox, int loy, int rux, int ruy)(Code) | | invert filter for a square part of the ymageMatrix
Parameters: lox - x value for left upper coordinate Parameters: loy - y value for left upper coordinate Parameters: rux - x value for right lower coordinate Parameters: ruy - y value for right lower coordinate author: Marc Nause |
line | public void line(int Ax, int Ay, int Bx, int By)(Code) | | |
lineDot | public void lineDot(int x0, int y0, int x1, int y1, int radius, int distance, long lineColor, long dotColor)(Code) | | |
plot | public void plot(int x, int y)(Code) | | |
plot | public void plot(int x, int y, int intensity)(Code) | | |
setColor | public void setColor(long c)(Code) | | |
|
|