|
|
| ResizeShape | |
| ResizeShape ShapeIndex, NumbOfVertex, NumbOfEdges | |
| Parameters: ShapeIndex = The Index of the shape you wish to create NumbOfVertex = The number of vertex NumbOfEdges = The number of edges |
|
| Returns: NONE | |
ResizeShape allows the user change the number of the vertex and edges definitions a shape has. The command is sensitive to existing data, so when expanding the vertex/edge buffers, old data is not lost. However, if you reduce the number of vertex or edges, and one was in use, the you will loose that data. FACTS: * Shape Vertex indexes ranges between zero and MaxVertex-1 * Shape Edges indexes ranges between zero and MaxEdges-1 Mini Tutorial: This example creates a box like shape manually and draws it. Then it resize the shape, and
This example outputs, |
| Related Info: | CreateShape | GetShapeEdges | GetShapeVerts | MergeShape : |
|
|
|||||||||||||||||||||||||||||||||||||||
|
(c) Copyright 2002 - 2026 - Kevin Picone - PlayBASIC.com |