on mouseUp set the rect of the templateImage to 100,100,400,400 create image "test" choose brush tool set the brush to 8 set the brushColor to red -- could use an RGB triplet here set the dragSpeed to 20 -- very slow #H drag from 120,120 to 120,300 drag from 120,200 to 150,200 drag from 150,300 to 150,120 #i drag from 180,120 to 180,150 drag from 180,180 to 180,300 end mouseUpquesto è il risultato :
Chiaramente è molto semplice, ma potete usare tutte le forme geometriche del "paint" tool.
Nessun commento:
Posta un commento