Skip to main content
Question

Change border style from solid to dash

  • February 9, 2024
  • 1 reply
  • 137 views

Please, how to change Stroke type from SOLID to DASHED.

if(text.style.border_style !== ''){
                                    node.strokes = [
                                        {
                                      type: text.style.border_style, // SOLID OR DASH
                                      color: borderColor
                                  }
                              ]
                          }

1 reply

tank666
  • 4858 replies
  • February 9, 2024

Change the value of the dashPattern property.

figma.com

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