drawShape()
Purpose
Draws a shape created with the advanced shape functions
Description
Draws the shape stored in the supplied handle
Syntax
drawShape( shape )
Arguments
shape Handle which stores the shape to draw
Example
// draw a multicoloured rectangle on the screen
box1 = createBox( gwidth() / 2, gheight() / 2, gwidth(), gheight() )
setVertexColour( box1, 0, bisque )
setVertexColour( box1, 1, cyan )
setVertexColour( box1, 2, fuzeblue )
setVertexColour( box1, 3, fuzepink )
drawShape( box1 )
update()
sleep( 3 )
Associated Commands
copyShape(), createBox(), createCircle(), createCurve(), createLine(), createLineStrip(), createPoly(), createStar(), createTriangle(), deleteShape(), getShapeBounds(), getShapeLocation(), getShapeRotation(), getShapeScale(), getShapeTint(), getVertex(), getVertexColour(), getVertexLineColour(), getVertexLineThickness(), joinShapes(), moveShape(), numVerts(), rotateShape(), scaleShape(), setShapeColour(), setShapeLineStyle(), setShapeRotation(), setShapeScale(), setShapeScaleModeLocal(), setShapeTint(), setVertex(), setVertexColour(), setVertexLineStyle()