[etoys-notify] [JIRA] Created: (SQ-1023) Morph>>FollowPath editing

Karl Ramberg (JIRA) tracker at squeakland.org
Mon Feb 27 18:20:11 EST 2012


Morph>>FollowPath editing
-------------------------

                 Key: SQ-1023
                 URL: http://tracker.squeakland.org/browse/SQ-1023
             Project: squeakland
          Issue Type: Feature
          Components: etoys
            Reporter: Karl Ramberg
             Fix For: future release


Karl Ramberg wrote:
> 
> I'm missing some editing power in the path one draw for
> morphs to follow. The current imlementation is a OrderedCollection
> of 70 cursor points. It would be cool to turn this into a LineMorph
> so it could be edited. Is there a easy way of doing this ?

Funny how formulating the problem almost always gives the solution:

path := (PolygonMorph
		vertices: (self renderedMorph valueOfProperty: #pathPoints)
		color: Color orange borderWidth: 1 borderColor: Color black) openInWorld.
path makeOpenOrClosed; showOrHideHandles 

Now I just need it to send the vertices to the property #pathPoints and
aim for the stars 



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.squeakland.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the etoys-notify mailing list