|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.java4less.rchart.gc.ChartImage
public abstract class ChartImage
Wrapper for the Image class. Use GraphicsProvider.getImage() to create an instance of this class.
Constructor Summary | |
---|---|
ChartImage()
|
Method Summary | |
---|---|
void |
dispose()
dispose image |
ChartGraphics |
getGraphics()
get graphic context of the image |
ChartGraphics |
getGraphics(int rotationDegrees,
int pivotx,
int pivoty)
get graphic context of the image |
int |
getHeight()
get height of the image |
int |
getWidth()
get width of the image |
boolean |
saveToFile(java.lang.String sFormat,
java.lang.String file)
saves image to a file |
boolean |
saveToStream(java.lang.String sFormat,
java.io.OutputStream os)
saves image to an output stream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChartImage()
Method Detail |
---|
public ChartGraphics getGraphics()
public ChartGraphics getGraphics(int rotationDegrees, int pivotx, int pivoty)
public int getWidth()
public int getHeight()
public boolean saveToFile(java.lang.String sFormat, java.lang.String file) throws java.lang.Exception
sFormat
- GIF,PNG or JPEGfile
-
java.lang.Exception
public boolean saveToStream(java.lang.String sFormat, java.io.OutputStream os)
sFormat
- GIF,PNG or JPEGfile
-
public void dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |