|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.WebElementConverter
public class WebElementConverter
WebElementConverter that is used for drawing a GraphicElement on a bitmap image.
| Constructor Summary | |
|---|---|
WebElementConverter(int imageWidth,
int imageHeight)
Creates an instance of WebElementConverter. |
|
| Method Summary | |
|---|---|
void |
draw(GraphicElement element)
Draws the given element on the image. |
BufferedImage |
getBufferedImage()
Returns the image as BufferedImage. |
int |
getImageHeight()
Returns image height. |
int |
getImageWidth()
Returns image width. |
byte[] |
getPNGImage()
Returns the PNG image as a byte array. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebElementConverter(int imageWidth,
int imageHeight)
WebElementConverter.
imageWidth - width of the image.imageHeight - height of the image| Method Detail |
|---|
public int getImageWidth()
public int getImageHeight()
public void draw(GraphicElement element)
throws Exception
element - an element
Exception - exception is thrown if the appropriate symbol is not used for the geometry. For Example use
WebSimpleMarkerSymbol, WebPictureMarkerSymbol or WebTrueTypeMarkerSymbol for WebPoint.public byte[] getPNGImage()
public BufferedImage getBufferedImage()
BufferedImage.
BufferedImage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||