Wednesday, May 16, 2012

[Action Script] Drawing API Stroke width remains fixed even on scalling May,2012

Hi,
I am working on a printing app where I am using Drawing API to draw a rectangle. I have provided a functionality to control stroke width of the rectangle Code: graphics.lineStyle(10,0x000000);For printing purpose I will need to scale the rectangle to higher resolution so I am using scaleX and scaleY to 5 times. But scalling the movieclip is not working with the stroke of the rectangle. The stroke remains the same.

Please let me know how can i increase the stroke width when scaling the movieclip.

Thanks
Drawing API Stroke width remains fixed even on scalling

Related Post



0 comments: