net.jinx.video.model
Class LineElement

java.lang.Object
  extended by net.jinx.video.model.MeshElement
      extended by net.jinx.video.model.LineElement
Direct Known Subclasses:
LineLoop, Lines, LineStrip

public abstract class LineElement
extends MeshElement

This interface marks a MeshElement as being composed of lines, rather than polygons. It has one method that provides the width of the lines.

API Stability: Stable.


Method Summary
 float getWidth()
          Provides the width of the lines.
 
Methods inherited from class net.jinx.video.model.MeshElement
draw, getFaces, getVertices, toLineElement, vertexCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWidth

public float getWidth()
Provides the width of the lines.

Returns:
the width as a float.