Skip to main content
Solved

What different stroke dash dashPattern and strokeDashes

  • November 18, 2021
  • 1 reply
  • 652 views

Pacman

According to checking with GET/v1/files/:key in developers/api, it is confirmed as strokeDashes instead of dashpattern. What is the difference between the two?

GET/v1/files/:key result like this

  strokes: [
      {
        blendMode: "NORMAL",
        type: "SOLID",
        color: {
          r: 1,
          g: 0,
          b: 0,
          a: 1,
        },
      },
    ],
    strokeWeight: 1,
    strokeAlign: "INSIDE",
    strokeDashes: [2, 2],

Best answer by tank666

The difference is that dashPattern is used in the Plugin API and strokeDashes is used in the REST API.

View original

1 reply

tank666
  • 4859 replies
  • Answer
  • November 18, 2021

The difference is that dashPattern is used in the Plugin API and strokeDashes is used in the REST API.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings