[F/OS] Text Drawable - An extension to create drawable for text

Text Drawable

This extension helps you to create image or drawable with letters for profile with a lot of customizations. This extension saves the drawable in your external storage directory and then it can be used in setting view’s background and picture of images.

Let’s see it’s blocks

All Blocks

image
image
image

Read the documentation here.

Documentation

component_event

This event raises when the drawable created and saved in to the external storage. It will give the path.

component_method

This block creates the drawable of given text with given heigth and width. Created event will be triggered when the drawable created.

blocks (3)

Property for getting and setting the background color of drawable.

blocks (4)

Property for getting and setting the corner radius of the drawable.

blocks (5)

Property for getting and setting the font bold.

blocks (6)

Property for getting and setting the font size of the text.

blocks (7)

Property for getting and setting the file name.

blocks (8)

Property for getting and setting the stroke color of the drawable.

blocks (9)

Property for getting and setting the stroke width of the drawable.

blocks (10)

Property for getting and setting the text color.

blocks (11)

Property for getting and setting the custom font typeface to text.

How to Use

The extension is very simple to use. you just have to set the properties accordingly and then Create it.

Preview

Download

Open Source

Credit

Thanks @Shreyash for his super rush

Donate

If you liked my work then donate if you can

14 Likes

Wew, Epic Job
:heart_eyes:

Extension Making machine
:stuck_out_tongue_winking_eye: :stuck_out_tongue_closed_eyes:

2 Likes

Version 2

Second update of the extension released.

Bug Fixes

  • Extension was not working on APK. It has been fixed.

Changes

  • Extension save the images in ASD(App Specific Directory) now.
  • Extension ask the permission own if not allowed then you would need to ask own.
  • An id parameter is added to Create and Created block to identify the event triggered.
  • Deprecated methods has been removed from it.

Extension has been updated and can be downloaded from the above post.

Source Code has been updated.

Thank You
Sumit

5 Likes