Wednesday, July 14, 2010

Open-jACOB Draw2D selecting a figure

Open-jACOB Draw2D is an excellent javascript drawing api. One of the method of workflow (main canvas in api) is not documented and that is "setCurrentSelection". After using this method, you can use "showResizedHandles" method to show handles like given below:

g_workflow.setCurrentSelection(figure);
g_workflow.showResizeHandles(figure);

No comments:

Post a Comment