class Text
Configuration options for Tool.TEXT
.
Text()
Configuration options for |
fun applyOn(settingsList: ly.img.android.pesdk.backend.model.state.manager.SettingsList): void |
|
fun getActions(): kotlin.Array<TextAction>
Defines all allowed actions for the text tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun getBackgroundColors(): kotlin.Array<ColorPalette>
Defines all available colors that can be applied to the background. The color pipette is always added. |
|
fun getCanvasActions(): kotlin.Array<StickerCanvasAction>
Defines all allowed actions for the text tool that are displayed as overlay buttons on the canvas. |
|
fun getDefaultTextColor(): Color
Defines the default text color for newly created text. |
|
fun getFonts(): kotlin.Array<FontElement>
Defines all available fonts. New items can be mixed and matched with existing ones. |
|
fun getTextColors(): kotlin.Array<ColorPalette>
Defines all available colors that can be applied to the text. The color pipette is always added. |
|
fun setActions(p: kotlin.Array<TextAction>): void
Defines all allowed actions for the text tool menu. Only buttons for allowed actions are visible and shown in the given order. |
|
fun setBackgroundColors(p: kotlin.Array<ColorPalette>): void
Defines all available colors that can be applied to the background. The color pipette is always added. |
|
fun setCanvasActions(p: kotlin.Array<StickerCanvasAction>): void
Defines all allowed actions for the text tool that are displayed as overlay buttons on the canvas. |
|
fun setDefaultTextColor(p: Color): void
Defines the default text color for newly created text. |
|
fun setFonts(p: kotlin.Array<FontElement>): void
Defines all available fonts. New items can be mixed and matched with existing ones. |
|
fun setTextColors(p: kotlin.Array<ColorPalette>): void
Defines all available colors that can be applied to the text. The color pipette is always added. |