Skip to main content
Participant
February 14, 2023
Answered

Scaling a rectangle with different corner radii?

  • February 14, 2023
  • 1 reply
  • 566 views

Hi all!

I guess the subject summarises what I'm trying to achieve.

I'm building a template for some info-boxes. This rectangle will scale according to how much text I have so the scale is dynamic. I set up everything but I need to have the corners be different radii from eachother but always be 40 px and 4 px when the rectangle is fully scaled.

I want the top - left and bottom - right corners to be 40 px radius, and the top - right and bottom - left corners to be 4 px radius when the rectangle is full size

 

Any help is much apreciated!

This topic has been closed for replies.
Correct answer Rick Gerard

You will have to add a duplicate rectangle with a smaller radius and offset the position and size to fill in the corner. There is no provision for different roundness. 

 

I posted a solution somewhere on the forum including expressions. If I find it I'll post a link. 

 

1 reply

Rick GerardCommunity ExpertCorrect answer
Community Expert
February 14, 2023

You will have to add a duplicate rectangle with a smaller radius and offset the position and size to fill in the corner. There is no provision for different roundness. 

 

I posted a solution somewhere on the forum including expressions. If I find it I'll post a link. 

 

Participant
February 15, 2023

Thank you for your reply!I'll look for that post