public void
drawFilledRectangle
(int x, int y, int x2, int y2, JOTAbstractPixel pixel)
[Inherited From JOTAbstractImage]
protected void
drawHorizontalLine
(int lineThickness, int x, int x2, int y, JOTAbstractPixel pixel)
[Inherited From JOTAbstractImage]
public void
drawLine
(int lineThickness, int x, int y, int x2, int y2, JOTAbstractPixel pixel)
[Inherited From JOTAbstractImage]
public void
drawRectangle
(int lineThickness, int x, int y, int x2, int y2, JOTAbstractPixel pixel)
[Inherited From JOTAbstractImage]
protected void
drawVerticalLine
(int lineThickness, int x, int y, int y2, JOTAbstractPixel pixel)
[Inherited From JOTAbstractImage]
protected void
drawWavyHorizontalLine
(int lineThickness, int x, int x2, int y, JOTAbstractPixel pixel, int wavyness, boolean holes)
public void
drawWavyLine
(int lineThickness, int x, int y, int x2, int y2, JOTAbstractPixel pixel, boolean holes)
protected void
drawWavyVerticalLine
(int lineThickness, int x, int y, int y2, JOTAbstractPixel pixel, int wavyness, boolean holes)
public int
getColorDepth
(long maxColors)
throws
Exception
[Inherited From JOTAbstractImage]
return the color depth in bits (ie: how big the palette needs to be)
ie:
1: 2 colors or less
4: 16 colors or less
8: 256 colors or less
16: 65536 colors or less
24: 16 777 216 colors or less
32: > 16 777 216 colors
resource intensive
Note: maxColors, is the maximum you want to look for, if more that "maxColor" colors are found, an exception will be thrown.
public int
writeToStream
(JOTAbstractImageWriterInterface imageWriter, OutputStream stream)
throws
Exception
[Inherited From JOTAbstractImage]
publicfinalstatic
int ALPHA_SUPPORT_NONE
= "1"
[Inherited From JOTAbstractImage]