public class ShapeRenderer extends ShapeVisitor
| Modifier and Type | Field and Description |
|---|---|
protected Graphics2D |
_graphics |
_acceptor| Constructor and Description |
|---|
ShapeRenderer() |
ShapeRenderer(Graphics2D g) |
| Modifier and Type | Method and Description |
|---|---|
protected Path2D |
drawPath(XDGFShape shape) |
protected void |
drawText(XDGFShape shape) |
void |
setGraphics(Graphics2D g) |
void |
visit(XDGFShape shape,
AffineTransform globalTransform,
int level) |
accept, getAcceptor, setAcceptorprotected Graphics2D _graphics
public ShapeRenderer()
public ShapeRenderer(Graphics2D g)
public void setGraphics(Graphics2D g)
public void visit(XDGFShape shape, AffineTransform globalTransform, int level)
visit in class ShapeVisitorshape - Current shapeglobalTransform - A transform that can convert the shapes points to global
coordinateslevel - Level in the tree (0 is topmost, 1 is next level...protected void drawText(XDGFShape shape)