public class CollectingTesselator extends AbstractTesselatorVisitor
Modifier and Type | Class and Description |
---|---|
static class |
CollectingTesselator.Triangles |
CURVE_STEPS
Constructor and Description |
---|
CollectingTesselator() |
Modifier and Type | Method and Description |
---|---|
void |
beginPoly(int windingRule)
Starts the polygon or polyline.
|
CollectingTesselator.Triangles |
getTesselated() |
void |
setGLContext(GL context)
Sets the GL context to be used for the next drawing session.
|
closeLine, endPoly, lineTo, moveTo, setStroke
cubicTo, getNumCurveSteps, quadTo, setNumCurveSteps
public void setGLContext(GL context)
PathVisitor
context
- The GL contextpublic void beginPoly(int windingRule)
PathVisitor
beginPoly
in interface PathVisitor
beginPoly
in class AbstractTesselatorVisitor
windingRule
- The winding rule for the polygon.public CollectingTesselator.Triangles getTesselated()
Copyright © 2010-2013. All Rights Reserved.