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

argument 1 to createPath() must be 2 numbers

New Here ,
Jul 21, 2022 Jul 21, 2022

Copy link to clipboard

Copied

i want to ellipses the mask path

but i don't know where my code went wrong...

 

110516cb-1f04-4deb-beca-12f0bd44c15a.pngf72af6d2-2361-4797-8d7c-0a8633753cd3.png

TOPICS
Expressions

Views

219

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 Expert ,
Jul 21, 2022 Jul 21, 2022

Copy link to clipboard

Copied

LATEST

It looks like p1 through p4 are missing their square brackets, like this:

p1 = [rect.left + rect.width/2, rect.top + 5];

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