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

Changing square with border radius to rectangle without warping the radius.

New Here ,
Feb 04, 2021 Feb 04, 2021

I want to animate a square to a rectangle while respecting the border radius of the original square. Instead, when I try to change the dimensions of the square, the border radius is skewed. Any ideas?

Screen Shot 2021-02-04 at 11.43.25 AM.png

TOPICS
How to , Missing feature , Product issue
152
Translate
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
Community Expert ,
Feb 04, 2021 Feb 04, 2021
LATEST

Hi.

 

If you're on an AS3 document, one way is to convert the rectangle shape into a Movie Clip by calling the Convert to Symbol dialog (Modify > Convert to Symbol... (F8)) and then checking Enable guides for 9-slice scaling before hitting OK.

image.png

 

Another not so obvious approach is to create a rectangle smaller than the size that you want and then scale the stroke until you get the desired dimensions. Both fill and stroke must have the same color.

image.png

 

Regards,

JC

Translate
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