Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

How to draw line with different colours? #13

Open
krunalpaliwal opened this issue Dec 17, 2021 · 0 comments
Open

How to draw line with different colours? #13

krunalpaliwal opened this issue Dec 17, 2021 · 0 comments

Comments

@krunalpaliwal
Copy link

what i want it when user draw
1st line in white color then choose red color
2nd line drawing in red color then choose green color
3rd line drawing in green color.

I have change in stroke array but when I try to draw with different color all other lines are convert to same pick color. But when I do undo operation I got the old color value.

Any idea how to achieve this thing?

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant