Package org.apache.poi.sl.draw
Class DrawNothing
- java.lang.Object
-
- org.apache.poi.sl.draw.DrawNothing
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.poi.sl.draw.Drawable
Drawable.DrawableHint
-
-
Field Summary
-
Fields inherited from interface org.apache.poi.sl.draw.Drawable
BUFFERED_IMAGE, CACHE_IMAGE_SOURCE, CURRENT_SLIDE, DEFAULT_CHARSET, DRAW_FACTORY, EMF_FORCE_HEADER_BOUNDS, 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
Constructors Constructor Description DrawNothing(Shape<?,?> shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyTransform(java.awt.Graphics2D graphics)
Apply 2-D transforms before drawing this shape.void
draw(java.awt.Graphics2D graphics)
Draw this shape into the supplied canvasvoid
drawContent(java.awt.Graphics2D context)
draw any content within this shape (image, text, etc.).
-
-
-
Constructor Detail
-
DrawNothing
public DrawNothing(Shape<?,?> shape)
-
-
Method Detail
-
applyTransform
public void applyTransform(java.awt.Graphics2D graphics)
Apply 2-D transforms before drawing this shape. This includes rotation and flipping.- Specified by:
applyTransform
in interfaceDrawable
- Parameters:
graphics
- the graphics whos transform matrix will be modified
-
draw
public void draw(java.awt.Graphics2D graphics)
Description copied from interface:Drawable
Draw this shape into the supplied canvas
-
drawContent
public void drawContent(java.awt.Graphics2D context)
Description copied from interface:Drawable
draw any content within this shape (image, text, etc.).- Specified by:
drawContent
in interfaceDrawable
- Parameters:
context
- the graphics to draw into
-
-