vfoCreateShapeData
vfoCreateShapeData(t_shapeType[ @restl_args] ) =>g_instance/ nil
Description
Allocates, initializes, and returns an instance of the subclass of the vfoShapeData of the given shape type.
Arguments
Value Returned
|
An initialized SKILL++ object of a subclass of the |
|
|
The SKILL++ object of a subclass of the |
Example
In the above example, the points of the chop shape are specified using the shapeData function.
shapeData = vfoCreateShapeData("rect" '((2 2) (3 1))) => stdobj@0x148e90d8 className(classOf(shapeData)) => vfoRectShapeData shapeData = vfoCreateShapeData("polygon" '((5 0) (0 0) (0 6))) className(classOf(shapeData)) => vfoPolygonShapeData
Return to top