Package org.apache.poi.sl.draw
Class DrawFreeformShape
- java.lang.Object
-
- org.apache.poi.sl.draw.DrawShape
-
- org.apache.poi.sl.draw.DrawSimpleShape
-
- org.apache.poi.sl.draw.DrawTextShape
-
- org.apache.poi.sl.draw.DrawAutoShape
-
- org.apache.poi.sl.draw.DrawFreeformShape
-
- All Implemented Interfaces:
Drawable
public class DrawFreeformShape extends DrawAutoShape
-
-
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
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
Constructors Constructor Description DrawFreeformShape(FreeformShape<?,?> shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.Collection<Outline>
computeOutlines(java.awt.Graphics2D graphics)
protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>>
getShape()
-
Methods inherited from class org.apache.poi.sl.draw.DrawTextShape
drawContent, drawParagraphs, getTextHeight, getTextHeight
-
Methods inherited from class org.apache.poi.sl.draw.DrawSimpleShape
draw, drawDecoration, drawShadow, getCustomGeometry, getCustomGeometry, getHeadDecoration, getStroke, getTailDecoration
-
Methods inherited from class org.apache.poi.sl.draw.DrawShape
applyTransform, getAnchor, getAnchor, getStroke
-
-
-
-
Constructor Detail
-
DrawFreeformShape
public DrawFreeformShape(FreeformShape<?,?> shape)
-
-
Method Detail
-
computeOutlines
protected java.util.Collection<Outline> computeOutlines(java.awt.Graphics2D graphics)
- Overrides:
computeOutlines
in classDrawSimpleShape
-
getShape
protected TextShape<?,? extends TextParagraph<?,?,? extends TextRun>> getShape()
- Overrides:
getShape
in classDrawTextShape
-
-