Skip to main content
Question

Change border style from solid to dash

  • February 9, 2024
  • 1 reply
  • 183 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 replies.

1 reply

tank666
  • February 9, 2024

Change the value of the dashPattern property.

figma.com