LineStrip

A series of lines glued together

float lineWidth = 1.0,
const Bitmap *texture = [none] )

Construct a new LineStrip with the specified width and texture.

const std::list< Vec2D > &vertices,
float lineWidth = 1.0,
const Bitmap *texture = [none] )

Construct a new LineStrip from a list of vertices with the specified width and texture.

Member functions
Draw
Draws the line strip filled with a color
SetTexture
Sets the texture
DisableTexture
Disables the active texture
AddToEnd
Adds a new vertex at the end
AddToBegin
Adds a new vertex at the beginning
DeleteFirst
Deletes the first vertex
DeleteLast
Deletes the last vertex
GetVertex
Returns a vertex
GetNumberOfVertices
Returns the number of vertices

Parent Class


Questions about LineStrip? Click here.