Looking for
We've rebranded!
API Docs


Brush tool

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

The backend settings are implemented in the BrushSettings class and displayed using the BrushToolPanel. If you want to customize the appearance of this tool, take a look at the customization section.

Example: How to set the default brush values:

// Obtain the config from you settingsList
BrushSettings brushSettings = settingsList.getSettingsModel(BrushSettings.class);
// Obtain the config from you settingsList
val brushSettings = settingsList.getSettingsModel(BrushSettings::class.java)
brushSettings.brushColor = ColorValue(0xFFFF0000)
brushSettings.brushHardness = 1f
brushSettings.brushSize = 0.5f