|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LineStripRenderer
The description of a class able to render line strips through OpenGL
| Method Summary | |
|---|---|
boolean |
applyGLLineFixes()
Check if we should apply default line fixes |
void |
color(float r,
float g,
float b,
float a)
Apply a colour to the next vertex |
void |
end()
End the line strips |
void |
setAntiAlias(boolean antialias)
Indicate whether antialiasing should be applied |
void |
setLineCaps(boolean caps)
Indicate if we should render end caps |
void |
setWidth(float width)
Set the width of the lines to be drawn |
void |
start()
Start the line strips |
void |
vertex(float x,
float y)
Add a vertex |
| Method Detail |
|---|
boolean applyGLLineFixes()
void start()
void end()
void vertex(float x,
float y)
x - The x coordinate of the vertexy - The y coordinate of the vertex
void color(float r,
float g,
float b,
float a)
r - The red component of the colourg - The green component of the colourb - The blue component of the coloura - The alpha component of the colourvoid setWidth(float width)
width - The width of the lines to be drawnvoid setAntiAlias(boolean antialias)
antialias - True if antialiasing should be appliedvoid setLineCaps(boolean caps)
caps - True if we should render end caps
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||