- Input format of
jamHelpers.toRectangleObject.
Defined as a two-element JSON array: [ rectangle, unit ]
rectangle : four or five-element JSON array:
[ left, top, right, bottom ]or[ left, top, right, bottom, radius ]
unit : string (among"distanceUnit","percentUnit","pixelsUnit")
left : number
top : number
right : number
bottom : number
radius : [optional] number (radius of rounded corners)
[ [ 10, 10, 90, 90, 10 ], "percentUnit" ]