|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgestalt.shape.AbstractShape
gestalt.shape.Line
gestalt.impl.jogl.shape.JoglLine
public class JoglLine
| Field Summary |
|---|
| Fields inherited from class gestalt.shape.Line |
|---|
colors, linewidth, points, smooth, stipple, stipplefactor, stipplepattern |
| Constructor Summary | |
|---|---|
JoglLine()
|
|
| Method Summary | |
|---|---|
void |
draw(GLContext theRenderContext)
this method is used to draw the drawable, when the context is ready. |
void |
setPrimitive(int theGestaltPrimitive)
there are different kinds of line primitives. |
| Methods inherited from class gestalt.shape.Line |
|---|
setStipplePattern |
| Methods inherited from class gestalt.shape.AbstractShape |
|---|
add, getSortData, getSortValue, getTransformMode, isActive, isSortable, material, position, position, position, position, rotation, rotation, scale, scale, scale, setActive, setChildContainer, setMaterialRef, setPositionRef, setRotationRef, setScaleRef, setSortValue, setTransformMode, setTransformRef, transform |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JoglLine()
| Method Detail |
|---|
public void draw(GLContext theRenderContext)
Drawable
theRenderContext - GLContextpublic void setPrimitive(int theGestaltPrimitive)
Line
LINE_PRIMITIVE_TYPE_LINES
LINE_PRIMITIVE_TYPE_LINE_LOOP
LINE_PRIMITIVE_TYPE_LINE_STRIP
'LINES' draws a per two points defined in the 'points' array.
setPrimitive in class LinetheGestaltPrimitive - int
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||