• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scale Shape Layer From Corner Without Distorting Roundness

New Here ,
Jan 22, 2025 Jan 22, 2025

Copy link to clipboard

Copied

I want to change the size of a rectangle width wise from the anchor point I've set (from the left). Not 'scale' but the size property in a rectangle path. I know I can do this with scale property, but this squashed the stroke. 

The only work around I've seen is, using this in the anchor point expression:

w = content("Rectangle 1").content("Rectangle Path 1").size[0]; h = content("Rectangle 1").content("Rectangle Path 1").size[1]; [w/-2, h/-2]

 

Is there an easier alternative to this? or am I doing this wrong?
Also shouldn't this be the default expected behaviour when setting an anchor point and scaling? 

 

TOPICS
Expressions

Views

29

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation