# Drawing API Stroke width remains fixed even on scalling

**URL:** <https://forum.kirupa.com/t/drawing-api-stroke-width-remains-fixed-even-on-scalling/328420>\
**Category:** flash\
**Created:** [May 16, 2012, 5:38am UTC](https://forum.kirupa.com/t/drawing-api-stroke-width-remains-fixed-even-on-scalling/328420 "2012-05-16T05:38:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![black\_pearl](https://avatars.discourse-cdn.com/v4/letter/b/aeb1de/32.png) [@black\_pearl](https://forum.kirupa.com/u/black_pearl)\
**Post date:** [May 16, 2012, 5:38am UTC](https://forum.kirupa.com/t/drawing-api-stroke-width-remains-fixed-even-on-scalling/328420/1 "2012-05-16T05:38:49Z")

</div>

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

```auto
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
