Wednesday, August 10, 2022

Maintain stroke width when scaling

Apply this expression to the Stroke Width property of any shape layer to maintain the visual thickness of the stroke, no matter what scaling is applied to the layer.

value / length(toComp([0,0]), toComp([0.7071,0.7071])) || 0.001; 

No comments:

Post a Comment