public class GL2ES2StrokeLineVisitor extends BasicStrokeLineVisitor implements ShaderPathVisitor
CURVE_STEPS
Constructor and Description |
---|
GL2ES2StrokeLineVisitor() |
GL2ES2StrokeLineVisitor(AnyModePipeline pipeline) |
Modifier and Type | Method and Description |
---|---|
void |
beginPoly(int windingRule)
Starts the polygon or polyline.
|
void |
endPoly()
Signifies that the polygon or polyline has ended.
|
void |
setGLContext(GL context)
Sets the GL context to be used for the next drawing session.
|
void |
setGLContext(GL context,
UniformBufferObject uniforms) |
void |
setStroke(BasicStroke stroke)
Sets the stroke to be used when drawing a path.
|
closeLine, cubicTo, lineTo, moveTo, quadTo
getNumCurveSteps, setNumCurveSteps
public GL2ES2StrokeLineVisitor()
public GL2ES2StrokeLineVisitor(AnyModePipeline pipeline)
public void setGLContext(GL context, UniformBufferObject uniforms)
setGLContext
in interface ShaderPathVisitor
public void setGLContext(GL context)
PathVisitor
setGLContext
in interface PathVisitor
context
- The GL contextpublic void setStroke(BasicStroke stroke)
PathVisitor
setStroke
in interface PathVisitor
setStroke
in class BasicStrokeLineVisitor
public void beginPoly(int windingRule)
PathVisitor
beginPoly
in interface PathVisitor
beginPoly
in class BasicStrokeLineVisitor
windingRule
- The winding rule for the polygon.public void endPoly()
PathVisitor
endPoly
in interface PathVisitor
endPoly
in class BasicStrokeLineVisitor
Copyright © 2010-2013. All Rights Reserved.