Package org.apache.poi.sl.draw
Class DrawSimpleShape
java.lang.Object
org.apache.poi.sl.draw.DrawShape
org.apache.poi.sl.draw.DrawSimpleShape
- All Implemented Interfaces:
Drawable
- Direct Known Subclasses:
DrawConnectorShape
,DrawPictureShape
,DrawTextShape
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected Collection
<Outline> computeOutlines
(Graphics2D graphics) void
draw
(Graphics2D graphics) Draw this shape into the supplied canvasprotected void
drawDecoration
(Graphics2D graphics, Paint line, BasicStroke stroke) protected void
drawShadow
(Graphics2D graphics, Collection<Outline> outlines, Paint fill, Paint line) protected static CustomGeometry
getCustomGeometry
(String name) protected static CustomGeometry
getCustomGeometry
(String name, Graphics2D graphics) protected Outline
getHeadDecoration
(Graphics2D graphics, LineDecoration deco, BasicStroke stroke) protected SimpleShape
<?, ?> getShape()
protected Outline
getTailDecoration
(Graphics2D graphics, LineDecoration deco, BasicStroke stroke) Methods inherited from class org.apache.poi.sl.draw.DrawShape
applyTransform, drawContent, getAnchor, getAnchor, getStroke
-
Constructor Details
-
DrawSimpleShape
-
-
Method Details
-
draw
Description copied from interface:Drawable
Draw this shape into the supplied canvas -
drawDecoration
-
getTailDecoration
-
getHeadDecoration
-
getStroke
-
drawShadow
protected void drawShadow(Graphics2D graphics, Collection<Outline> outlines, Paint fill, Paint line) -
getCustomGeometry
-
getCustomGeometry
-
computeOutlines
-
getShape
-