Replies: 1 comment
-
Actually you can close this... A custom drawable seems to be the way to go, sorry for the inconvenience. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to draw sharp shapes, defined by a custom class. I wonder how this would be done correctly.
Coil works with
Drawables
but I can't draw on them, so I need to create my shapes as bitmaps. This means, I must create them in a defined size and this means, I have to decide which size. In the end, the shape may be resized again...What's your suggestion to do this?
My solution so far is following:
BitmapDrawable(context.resources, bmp)
)Is that the best way to go?
Beta Was this translation helpful? Give feedback.
All reactions