clearLineTool() |
Top Previous Next |
clearLineTool( type )
Remove all line tool objects of the type passed.
Parameters
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
}
}
|