Skip to main content
PESDK/Android/Guides/Brush

Brush - Draw Tool

The Brush Engine of PhotoEditor SDK for Android is optimized for touch screen interaction and supports various brush strokes, thicknesses, and colors.

Brush tool

The high-performant brush engine of PhotoEditor SDK is optimized for touch screen interaction and supports different brush strokes that can be edited in terms of thickness and color.

The tool is implemented in the BrushToolPanel class and backend settings are implemented in the BrushSettings class. It can be configured using the UiConfigBrush class as described in the configuration section. You can configure the available tools, their order, the allowed overlay actions, the brush size and hardness values (minimum, maximum and default), the default color, and the list of available colors.

NOTE: Brush tool requires the ui:brush module. Refer to our documentation on how to include the module in your project.