OpenLayer
|
Shape
|
LineStrip
|
Draw
Draw
void
Draw
(
const
Rgba
&color )
Draws the line strip to the Canvas filled with the specified color.
void
Draw
(
const
Rgba
&startColor,
const
Rgba
&endColor )
Draws the line strip filled with a gradients so that colors change smoothly from the start of the line strip to the end.
Other functions of the class
LineStrip
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
Back to the main page of the manual
Questions about Draw? Click
here.