Class ShapeRenderer
java.lang.Object
org.apache.poi.xdgf.usermodel.shape.ShapeVisitor
org.apache.poi.xdgf.usermodel.shape.ShapeRenderer
- Direct Known Subclasses:
ShapeDebuggerRenderer
To use this to render only particular shapes, override it and provide an
appropriate implementation of getAcceptor() or accept()
-
Field Summary
FieldsFields inherited from class org.apache.poi.xdgf.usermodel.shape.ShapeVisitor
_acceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Path2Dprotected voidvoidvoidvisit(XDGFShape shape, AffineTransform globalTransform, int level) Methods inherited from class org.apache.poi.xdgf.usermodel.shape.ShapeVisitor
accept, getAcceptor, setAcceptor
-
Field Details
-
_graphics
-
-
Constructor Details
-
ShapeRenderer
public ShapeRenderer() -
ShapeRenderer
-
-
Method Details
-
setGraphics
-
visit
- Specified by:
visitin classShapeVisitor- Parameters:
shape- Current shapeglobalTransform- A transform that can convert the shapes points to global coordinateslevel- Level in the tree (0 is topmost, 1 is next level...
-
drawPath
-
drawText
-