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) voiddraw(Graphics2D graphics) Draw this shape into the supplied canvasprotected voiddrawDecoration(Graphics2D graphics, Paint line, BasicStroke stroke) protected voiddrawShadow(Graphics2D graphics, Collection<Outline> outlines, Paint fill, Paint line) protected static CustomGeometrygetCustomGeometry(String name) protected static CustomGeometrygetCustomGeometry(String name, Graphics2D graphics) protected OutlinegetHeadDecoration(Graphics2D graphics, LineDecoration deco, BasicStroke stroke) protected SimpleShape<?,?> getShape()protected OutlinegetTailDecoration(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:DrawableDraw 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
-