Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

About to bing strokeDashArray,how to convert a Array class to a string?

$
0
0

@3q wrote:

Convert a geometric class to a string: Point.stringify, Size.stringify, Rect.stringify, Margin.stringify, Spot.stringify, and Geometry.stringify.
For example:

new go.Binding("location", "loc", go.Point.parse).makeTwoWay(go.Point.stringify)

Q1:
I met a error:
property set error: Error: Shape.strokeDashArray:value value is not an instance of Array: "5 2"
My Code:

new go.Binding("strokeDashArray","dashes").makeTwoWay()

How to convert a Array class to a string?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles