public class GL2ES2ShapeDrawer extends AbstractShapeHelper
Constructor and Description |
---|
GL2ES2ShapeDrawer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Shape shape) |
void |
setG2D(GLGraphics2D g2d)
Sets the current
GLGraphics2D parent. |
dispose, drawArc, drawLine, drawOval, drawPolygon, drawPolyline, drawRect, drawRoundRect, fill, getStroke, pop, push, resetHints, setHint, setStroke, visitShape
public void setG2D(GLGraphics2D g2d)
G2DDrawingHelper
GLGraphics2D
parent. The current GL
and
GLContext
objects can be accessed from this. This should clear all
internal stacks in the helper object because previous painting iterations
may not have called dispose() for each time they called create().setG2D
in interface G2DDrawingHelper
setG2D
in class AbstractShapeHelper
g2d
- The parent context for subsequent drawing operations.public void draw(Shape shape)
Copyright © 2010-2013. All Rights Reserved.