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

argument 1 to createPath() must be 2 numbers

New Here ,
Jul 21, 2022 Jul 21, 2022

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

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

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

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