org.apache.poi.hslf.blip
Class BitmapPainter

java.lang.Object
  extended by org.apache.poi.hslf.blip.BitmapPainter
All Implemented Interfaces:
ImagePainter

public final class BitmapPainter
extends java.lang.Object
implements ImagePainter

Creates BufferedImage using javax.imageio.ImageIO and draws it in the specified graphics.

Author:
Yegor Kozlov.

Constructor Summary
BitmapPainter()
           
 
Method Summary
 void paint(java.awt.Graphics2D graphics, PictureData pict, Picture parent)
          Paints the specified picture data
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitmapPainter

public BitmapPainter()
Method Detail

paint

public void paint(java.awt.Graphics2D graphics,
                  PictureData pict,
                  Picture parent)
Description copied from interface: ImagePainter
Paints the specified picture data

Specified by:
paint in interface ImagePainter
Parameters:
graphics - the graphics to paintb into
pict - the data to paint
parent - the shapes that owns the picture data