JDraw sketcher API

Hi, does such a thing exist ?

I have been searching and have been unable to find any documentation.

Initially all I'd like to do is clear the sketch in the component using javascript.

Drew