Top Fields Constructors Methods
org.apache.poi.sl.draw

public Class DrawSimpleShape

extends DrawShape
Class Inheritance
Known Direct Subclasses
org.apache.poi.sl.draw.DrawTextShape, org.apache.poi.sl.draw.DrawConnectorShape, org.apache.poi.sl.draw.DrawPictureShape
Static Imports
org.apache.poi.sl.draw.DrawPaint.fillPaintWorkaround

Field Summary

Modifier and TypeField and Description
private static final double
Inherited from org.apache.poi.sl.draw.DrawShape:
shape

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Collection<Outline>
public void
draw(Graphics2D
the graphics to draw into
graphics
)

Overrides org.apache.poi.sl.draw.DrawShape.draw.

Implements org.apache.poi.sl.draw.Drawable.draw.

Draw this shape into the supplied canvas

protected void
drawDecoration(Graphics2D graphics, Paint line, BasicStroke stroke)

protected void
drawShadow(Graphics2D graphics, Collection<Outline> outlines, Paint fill, Paint line)

private void
protected Paint
protected Outline
protected Paint
protected SimpleShape<?, ?>
public BasicStroke
protected Outline
Inherited from org.apache.poi.sl.draw.DrawShape:
applyTransformdrawContentgetAnchorgetAnchorgetStrokeisHSLF

Field Detail

DECO_SIZE_POWback to summary
private static final double DECO_SIZE_POW

Constructor Detail

DrawSimpleShapeback to summary
public DrawSimpleShape(SimpleShape<?, ?> shape)

Method Detail

computeOutlinesback to summary
protected Collection<Outline> computeOutlines(Graphics2D graphics)
drawback to summary
public void draw(Graphics2D graphics)

Overrides org.apache.poi.sl.draw.DrawShape.draw.

Implements org.apache.poi.sl.draw.Drawable.draw.

Doc from org.apache.poi.sl.draw.Drawable.draw.

Draw this shape into the supplied canvas

Parameters
graphics:Graphics2D

the graphics to draw into

Annotations
@Override
drawDecorationback to summary
protected void drawDecoration(Graphics2D graphics, Paint line, BasicStroke stroke)
drawShadowback to summary
protected void drawShadow(Graphics2D graphics, Collection<Outline> outlines, Paint fill, Paint line)
fillAreaback to summary
private void fillArea(Graphics2D graphics, PaintStyle.PaintModifier pm, Path2D area)
getFillPaintback to summary
protected Paint getFillPaint(Graphics2D graphics)
getHeadDecorationback to summary
protected Outline getHeadDecoration(Graphics2D graphics, LineDecoration deco, BasicStroke stroke)
getLinePaintback to summary
protected Paint getLinePaint(Graphics2D graphics)
getShapeback to summary
protected SimpleShape<?, ?> getShape()

Overrides org.apache.poi.sl.draw.DrawShape.getShape.

Annotations
@Override
getStrokeback to summary
public BasicStroke getStroke()
getTailDecorationback to summary
protected Outline getTailDecoration(Graphics2D graphics, LineDecoration deco, BasicStroke stroke)