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

Rectangle path expression

Community Beginner ,
Jun 11, 2017 Jun 11, 2017

Copy link to clipboard

Copied

Hi,

I want the path of Rectangle 2 to copy the path of Rectangle 1, only to be 30px smaller on each axis.

For some reason it's only shortening the path by 30px on the x-axis.

Any ideas how I can get it to shorten on the y-axis as well?

The reason I'm doing it is so I can adjust the size of one rectangle rather than them both.

Thanks,

Ryan

Screen Shot 2017-06-11 at 20.35.39.png

TOPICS
Expressions

Views

1.4K

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

correct answers 1 Correct answer

Community Expert , Jun 11, 2017 Jun 11, 2017

Try this:

content("Rectangle 1").content("Rectangle Path 1").size - [30,30]

Dan

Votes

Translate

Translate
Community Expert ,
Jun 11, 2017 Jun 11, 2017

Copy link to clipboard

Copied

Try this:

content("Rectangle 1").content("Rectangle Path 1").size - [30,30]

Dan

Votes

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
Community Beginner ,
Jun 11, 2017 Jun 11, 2017

Copy link to clipboard

Copied

LATEST

Perfect, thanks Dan

Votes

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