Single tool use
When you want customers to perform only one action on the photo, you can use single tool mode on PhotoEditor SDK.
Single tool mode supported tools are Transform
, Filters
, Adjustments
, Focus
, Overlays
, and Brush
.
To open the editor in single tool mode, two constraints need to be satisfied. You need to set singleToolMode
to true
(set by default) and make sure you only set one tool to be available in tools
.
Configure menu items#
The tool menu items displayed in the main menu can be configured through the configuration.tools
option and takes an array of Tool
s, so we will set the array to only include the tool item we want to use.
Make sure your license includes the tool you want to use. For further information on the configuration.tools
option please refer to our dedicated section.