Fuze Arena Logo
  • Forum
  • Creations
    Catalogue Showcase
  • Help

clear()

Purpose

Clear the screen

Description

Clear the framebuffer and after a call to update the screen. Optionally a colour can be specified to fill the screen with (default is black)

Syntax

clear( )

clear( colour )

Arguments

colour colour name or RGB values { red, green, blue, opacity } between 0 and 1

Example

showKeyboard()
clear( { 1, 1, 1, 1 } )
update()
sleep( 3 )
clear( red )
update()
sleep( 3 )
clear()
update()
sleep( 3 )

Associated Commands

gHeight(), gWidth(), setDrawTarget(), setMode(), update()

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.