API for dashPattern in storke

Hey folk, I’m looking for a way to set the dash pattern via plugin API. It is stated as ReadonlyArray in docs. Is there any way to set the dashPattern for storke using plugin API. Thanks

To edit read-only properties, you need to overwrite the entire array.

Read more in this article:

1 Like