Lines Sample
Lines Sample demonstrates programming of Line
Strip objects
The application
By default, the application loads Lines.mdg with single continuous line strip
of three segments. The form displays all properties of the line strip.
The line strip is closed. It has three underlying points Its
index array is: [0, 1, 2, 0, -1].
When the point count is increased new points are added to the end of the
point array and correspondent index is inserted into the end of the index array.
Turning on the "Per Vertex" check box enables interpolation of the line colors from one end to another.
See also: Sample list
|