Posted By

n00ge on 11/10/07


Tagged

actionscript Drawing


Versions (?)

Draw a curved line


 / Published in: ActionScript
 

This will draw a curved line with actionscript.

  1. ${1:this}.lineStyle(${2:thickness}, 0x${3:000000}, ${4:alpha});
  2. $1.moveTo(${5:startX},${6:startY});
  3. $1.curveTo(${7:controlX}, ${8:controlY}, ${9:anchorX}, ${10:anchorY});$0

Report this snippet  

You need to login to post a comment.