removeLineTool() |
Top Previous Next |
removeLineTool( type, tagID )
Remove a specific line object originally drawn by drawLineRelative() or drawLineAbsolute(). The object is identified by its tagID.
Parameters
Usage
function main() {
... ...
if ( getBarState() == BARSTATE_NEWBAR ) {
//remove a specific linetool MOB object that was previously created //with a tagID of 204 removeLineTool( LineTool.MOB, 204 );
//now we can start drawing new objects based on the current bar
}
}
|