clearLineTool()

eSignal EFS 2

clearLineTool()

Top  Previous  Next

 

clearLineTool( type )

 

Remove all line tool objects of the type passed.

 

Parameters

 

type

type of linetool object to remove

 

Usage

 

function main() {

 

       ...

       ...

 

       if ( getBarState() == BARSTATE_NEWBAR ) {

 

               //clear all linetool MOB objects that may have been drawn during the

               //creation of the last bar

               clearLineTool( LineTool.MOB );

 

               //now we can start drawing new objects based on the current bar

 

       }

 

}

 

addLineTool()

removeLineTool()