OpenLayer
|
Shape
|
LineStrip
LineStrip
A series of lines glued together
LineStrip
(
float
lineWidth =
1.0
,
const
Bitmap
*texture =
[none]
)
Construct a new LineStrip with the specified width and texture.
LineStrip
(
const
any_std_list<
Vec2D
> &vertices,
float
lineWidth =
1.0
,
const
Bitmap
*texture =
[none]
)
Construct a new LineStrip from any kind of a list of vertices.
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
Shape
Back to the main page of the manual
Questions about LineStrip? Click
here.