Re: [Pharo-project] Stick figure in Pharo smalltalk
MikeR wrote
So I'm trying to create a stick figure in Pharo.
So far I have this
man := Morph new. head := CircleMorph new color: Color black . body := LineMorph new. man addMorph: head. man addMorph: body. man openInWindow.
it will give you a circle and a line in a window, but the line i can adjust the point property. I wondering if anyone could pt. me in the right direction.
----- Cheers, Sean -- View this message in context: http://forum.world.st/Stick-figure-in-Pharo-smalltalk-tp4686413p4686485.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Le 08/05/2013 21:18, Sean P. DeNigris a écrit :
man := Morph new. head := CircleMorph new color: Color black . body := LineMorph new. man addMorph: head. man addMorph: body. man openInWindow.
it will give you a circle and a line in a window, but the line i can adjust the point property. I wondering if anyone could pt. me in the right direction.
To do what? sending #betSticky message, is it what you are looking for? Hilaire -- Dr. Geo http://drgeo.eu
participants (2)
-
Hilaire Fernandes -
Sean P. DeNigris