0
Аяқталған

Drawing activity?

cathy lane 11 year бұрын updated by Alin Alexandru Matei 11 year бұрын 1
 I am not sure if this is possible maybe you can help me. I want the users to be able to draw into a canvas area and be able to change colours as they draw? I have worked out how to draw free inside a shape in a single colour- I want the user to be able to change colours. I can't seem to get select colour behaviour to work.
Thanks for your help!
Cathy

Answer

Answer
Аяқталған
Here is a sample app for a Drawing app:
110 - Drawing app.zip

The color selector element will let you choose another color, with you can draw the house element.
I just tried something. 

first action set- interaction- drag- behaviour- draw free  
2nd action set- interaction- tap- behaviour- selcolour.
The only trouble with this was that the colour select box comes up in the middle of the shape and doesn't go away when you have selected a colour. Is there a way around this?
Answer
Аяқталған
Here is a sample app for a Drawing app:
110 - Drawing app.zip

The color selector element will let you choose another color, with you can draw the house element.