Drawing Shapes

Hi friends,

I am facing an issue, need to draw a triangle in such a way that the line thickness remains the same irrespective of the scale applied to the drawn object. Tried using lineStyle with these settings:
** scaleMode = “none”,
caps = “square”,
joints=“miter”,
miterLimit=10**

But when I start scaling the object the corners sharpness is lost & start appearing as blunt.
There are other shapes as well, a star, a polygon etc.

Could anybody show the right way of doing this!

Regards