class StickerClass
Configuration options for Tool.STICKER
.
StickerClass()
Configuration options for |
fun applyOn(settingsList: ly.img.android.pesdk.backend.model.state.manager.SettingsList): void |
|
fun getActions(): kotlin.Array<StickerAction>
Defines all allowed actions for the sticker tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun getCanvasActions(): kotlin.Array<StickerCanvasAction>
Defines all allowed actions for the sticker tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible. |
|
fun getCategories(): kotlin.Array<StickerCategoryClass>
Defines all available stickers. Each sticker must be assigned to a category. New items and categories can be mixed and matched with existing ones. |
|
fun getColors(): kotlin.Array<ColorPalette>
Defines all available colors that can be applied to stickers with a |
|
fun getDefaultPersonalStickerTintMode(): TintMode
The default tint mode for personal stickers. |
|
fun getPersonalStickers(): java.lang.Boolean
If enabled the user can create personal stickers from the device's photo library. A
button is added as first item
in the menu in front of the sticker categories which modally presents an image selection
dialog for personal sticker creation.
Personal stickers will be added to a personal sticker category with the identifier
|
|
fun setActions(p: kotlin.Array<StickerAction>): void
Defines all allowed actions for the sticker tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun setCanvasActions(p: kotlin.Array<StickerCanvasAction>): void
Defines all allowed actions for the sticker tool that are displayed as overlay buttons on the canvas. Only buttons for allowed actions are visible. |
|
fun setCategories(p: kotlin.Array<StickerCategoryClass>): void
Defines all available stickers. Each sticker must be assigned to a category. New items and categories can be mixed and matched with existing ones. |
|
fun setColors(p: kotlin.Array<ColorPalette>): void
Defines all available colors that can be applied to stickers with a |
|
fun setDefaultPersonalStickerTintMode(p: TintMode): void
The default tint mode for personal stickers. |
|
fun setPersonalStickers(p: java.lang.Boolean): void
If enabled the user can create personal stickers from the device's photo library. A
button is added as first item
in the menu in front of the sticker categories which modally presents an image selection
dialog for personal sticker creation.
Personal stickers will be added to a personal sticker category with the identifier
|