Skip to main content
Question

Change border style from solid to dash

  • February 9, 2024
  • 1 reply
  • 142 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
                                  }
                              ]
                          }
This topic has been closed for comments

1 reply

tank666
  • 4863 replies
  • February 9, 2024

Change the value of the dashPattern property.

figma.com

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