Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 753 Bytes

File metadata and controls

30 lines (17 loc) · 753 Bytes

fl.addToolInToolbar()

Availability

Animate 2020

Usage

fl.addToolInToolbar(toolName)

Parameters

toolName A string that specifies the name of the tool to select. Refer fl.selectTool description for the acceptable toolName values.

Returns

boolean : Returns true if the specified tool was added successfully in the Tools Panel.

Description

Method; Appends the specified tool in the Tools Panel from Toolbar Palette if it is not already present. If you or a user creates custom tools, the names of those tools can also be passed as the toolName parameter.

Example

The following example selects the Oval tool.

var success = fl.addToolInToolbar("oval");