|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.java4less.rchart.gc.ChartImage
com.java4less.rchart.gc.android.ChartAndroidImage
public class ChartAndroidImage
Field Summary | |
---|---|
static AssetManager |
assets
|
Constructor Summary | |
---|---|
ChartAndroidImage(int w,
int h)
create a new image of a given size |
|
ChartAndroidImage(int w,
int h,
ChartColor transparent)
create a new transparent image of a given size |
|
ChartAndroidImage(java.lang.Object o)
create image from android image |
Method Summary | |
---|---|
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 |
Bitmap |
getImage()
get android image object |
int |
getWidth()
get width of the image |
boolean |
saveToStream(java.lang.String sFormat,
java.io.OutputStream os)
saves image to an output stream |
Methods inherited from class com.java4less.rchart.gc.ChartImage |
---|
dispose, saveToFile |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static AssetManager assets
Constructor Detail |
---|
public ChartAndroidImage(java.lang.Object o)
o
- public ChartAndroidImage(int w, int h, ChartColor transparent)
w
- widthh
- heighttransparent
- background color which will be transparentpublic ChartAndroidImage(int w, int h)
w
- widthh
- heightMethod Detail |
---|
public ChartGraphics getGraphics()
getGraphics
in class ChartImage
public ChartGraphics getGraphics(int rotationDegrees, int pivotx, int pivoty)
ChartImage
getGraphics
in class ChartImage
public int getWidth()
getWidth
in class ChartImage
public int getHeight()
getHeight
in class ChartImage
public Bitmap getImage()
public boolean saveToStream(java.lang.String sFormat, java.io.OutputStream os)
saveToStream
in class ChartImage
sFormat
- GIF,PNG or JPEGfile
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |