Skip to main content
Language

Configure Stickers

PhotoEditor SDK supports several configuration options for the sticker tool via the configuration.sticker option - allowing flexible adaptation to different needs and use cases. For a detailed explanation of how to configure different editor views, refer to this guide.

personalStickers#

The default configuration does not allow users to add custom stickers. In this example, we enable users to add stickers from the device by setting personalStickers to true.

defaultPersonalStickerTintMode#

By default, the default tint mode for personal stickers is set to TintMode.none. For this example, this is set to TintMode.solid

colors#

By default, a lot of colors are enabled. For this example, we only enable a ColorPalette with a small selection of colors.

canvasActions#

By default, all available canvas actions are enabled. In our example, the user is only allowed to undo and redo the changes. For a complete list of available canvas actions for the sticker tool consult the API docs.

actions#

By default, all available sticker actions are enabled. In our example, the user is only allowed to replace the stickers and change the color. For a complete list of available sticker actions consult the API docs.