Text Design
The Text Design Tool merges input text with typography, creating stunning designs for a multitude of use-cases. The tool lays out input text according to recipes crafted by professional designers with a single tap. Furthermore, the creative can then be fine-tuned by choosing from 15 different text colors or by using the randomize functionality that shuffles the fonts, alignments and decorations. It’s even possible to create a mask that lets the background image shine through.
The tool can be customized using the configuration.textdesign
interface as described in the configuration section.
Adding and removing available Text Designs#
PhotoEditor SDK currently does not support creating custom text design layouts. However, you can choose which text design layouts are available to your users and their ordering by updating the configuration.textdesign.items
array. The default implementation contains all available layouts, i.e.:
final textDesignOptions = TextDesignOptions(items: [TextDesign.existing("imgly_text_design_blocks"),TextDesign.existing("imgly_text_design_rotated"),TextDesign.existing("imgly_text_design_blocks_light"),TextDesign.existing("imgly_text_design_equal_width"),TextDesign.existing("imgly_text_design_masked"),TextDesign.existing("imgly_text_design_celebrate"),TextDesign.existing("imgly_text_design_sunshine"),TextDesign.existing("imgly_text_design_masked_badge"),TextDesign.existing("imgly_text_design_blocks_condensed"),TextDesign.existing("imgly_text_design_celebrate_simple"),TextDesign.existing("imgly_text_design_equal_width_fat"),TextDesign.existing("imgly_text_design_watercolor"),TextDesign.existing("imgly_text_design_particles"),TextDesign.existing("imgly_text_design_masked_speech_bubble"),TextDesign.existing("imgly_text_design_masked_speech_bubble_comic"),TextDesign.existing("imgly_text_design_multiline"),]);final configuration = Configuration(textdesign: textDesignOptions);