In This Topic
Registers the visual tool type.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebVisualToolFabricJS();
var value; // Type: any
// Parameters
var id; // Type: string
var createFunction; // Type: function
value = instance.registerTool(id, createFunction);
function registerTool(
: string,
: Function
) : any;
Parameters
- id
- The ID of the visual tool type.
- createFunction
- Function, which allows to create required WebVisualToolJS object.
Exceptions
Browser Compatibility
See Also