mapnik
Class Image

java.lang.Object
  extended by mapnik.NativeObject
      extended by mapnik.Image

public class Image
extends NativeObject

Java access to a mapnik image_32 class

Author:
stella

Constructor Summary
Image(Image other)
           
Image(int width, int height)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 void saveToFile(java.lang.String fileName, java.lang.String type)
           
 byte[] saveToMemory(java.lang.String type)
           
 
Methods inherited from class mapnik.NativeObject
dispose, isDisposed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image(int width,
             int height)

Image

public Image(Image other)
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

saveToFile

public void saveToFile(java.lang.String fileName,
                       java.lang.String type)

saveToMemory

public byte[] saveToMemory(java.lang.String type)