Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

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()

logo

©2019 FUZE Technologies Ltd. FUZE is a registered trademark of FUZE Technologies Ltd. All rights reserved.

Useful links

  • Fuze Main Site
  • Fuze Arena on Twitter
  • Fuze Arena on Youtube
  • Download Buyer

Contact Information

  • FUZE Technologies Ltd
    15 Clearfields Farm
    Wotton Underwood
    Aylesbury, Buckinghamshire
    ​England, HP18 0RS

  • +44 (0) 1844 239 432

  • contact@fuze.co.uk

© Copyright FUZE Technologies Ltd. All rights reserved.