- Input format of
jamHelpers.toPointList. - Output format of
jamHelpers.fromPointList.
Defined as a two-element JSON array: [ points, unit ]
points : JSON array of points, each one being a two-element JSON array:
[ horizontal, vertical ]
unit : string (among"distanceUnit","percentUnit","pixelsUnit")
horizontal : number
vertical : number
[ [ [ 80, 50 ], [ 20, 20 ], [ 20, 80 ] ], "percentUnit" ]