|
NewConvexShape | |
ShapeIndex = NewConvexShape(Size, NumbOfEdges) | |
Parameters: Size = The size of this shape NumbOfEdges = The number of edges |
|
Returns: ShapeIndex = The Index of the shape you wish to create |
|
The NewConvexShape() function initializes a pre-built shape. The shape is built by generating points on a circle, where you define both the size (the radius of this circle) and the number of points/edges to connect to form this shape. FACTS: * NewConvexShape builds a convex shape. Mini Tutorial: This example creates a convex shape, and draw it in point, edge and filled form.
This example outputs. |
Related Info: | CreateConvexShape | CreateShape | GetShapeStatus | LoadShape | NewShape | SaveShape | ShapeQuantity : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |