org.apache.poi.sl.draw
Class DrawBackground

java.lang.Object
  extended by org.apache.poi.sl.draw.DrawShape
      extended by org.apache.poi.sl.draw.DrawBackground
All Implemented Interfaces:
Drawable

public class DrawBackground
extends DrawShape


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.poi.sl.draw.Drawable
Drawable.DrawableHint
 
Field Summary
 
Fields inherited from class org.apache.poi.sl.draw.DrawShape
shape
 
Fields inherited from interface org.apache.poi.sl.draw.Drawable
CURRENT_SLIDE, DRAW_FACTORY, FONT_FALLBACK, FONT_HANDLER, FONT_MAP, GRADIENT_SHAPE, GRESTORE, GROUP_TRANSFORM, GSAVE, IMAGE_RENDERER, PRESET_GEOMETRY_CACHE, TEXT_AS_CHARACTERS, TEXT_AS_SHAPES, TEXT_RENDERING_MODE
 
Constructor Summary
DrawBackground(Background<?,?> shape)
           
 
Method Summary
 void draw(java.awt.Graphics2D graphics)
          Draw this shape into the supplied canvas
protected  Background<?,?> getShape()
           
 
Methods inherited from class org.apache.poi.sl.draw.DrawShape
applyTransform, drawContent, getAnchor, getAnchor, getStroke, isHSLF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DrawBackground

public DrawBackground(Background<?,?> shape)
Method Detail

draw

public void draw(java.awt.Graphics2D graphics)
Description copied from interface: Drawable
Draw this shape into the supplied canvas

Specified by:
draw in interface Drawable
Overrides:
draw in class DrawShape
Parameters:
graphics - the graphics to draw into

getShape

protected Background<?,?> getShape()
Overrides:
getShape in class DrawShape