Menu

Line Cap Style

Help
Peter
2007-04-22
2013-04-01
  • Peter

    Peter - 2007-04-22

    Is there a way to modify the cap style for lines?

    I want to change the cap style from "round" to "normal" to get squared off edges.

     
    • Alex Uhlmann

      Alex Uhlmann - 2007-04-22

      In AP 3 (ActionScript 3 version) there is a way to do that. I've not implemented this in AP 2 but you should be able to easily implement this yourself with looking how it's done in AP3. If you do, send me your version and I add it to next version, and giving credits of course.

      Best,
      Alex

       
    • Peter

      Peter - 2007-04-23

      Thanks for the response.

      Would I modify the Line Class to do this?

      I am not very experienced with writing/modifying Classes, but I'm willing to try.

       
      • Alex Uhlmann

        Alex Uhlmann - 2007-04-24

        Take a look at the Shape class and how it's done there with the existing lineStyle properties. You can also compare with the AP3 version were it's already done.

        Alex

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.