public class TriangleStripTesselator extends AbstractTesselatorVisitor
Modifier and Type | Class and Description |
---|---|
static class |
TriangleStripTesselator.TriangleStrip |
CURVE_STEPS
Constructor and Description |
---|
TriangleStripTesselator() |
Modifier and Type | Method and Description |
---|---|
void |
beginPoly(int windingRule)
Starts the polygon or polyline.
|
Collection<TriangleStripTesselator.TriangleStrip> |
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 Collection<TriangleStripTesselator.TriangleStrip> getTesselated()
Copyright © 2010-2013. All Rights Reserved.