| .. | ||
| README.md | ||
Offset Object Simplified Format
- Input format of
jamHelpers.toOffsetObject.
Simplified format
Defined as a two-element JSON array: [ offset, unit ]
offset : two-element JSON array:
[ horizontal, vertical ]
unit : string (among"distanceUnit","percentUnit","pixelsUnit")
horizontal : number
vertical : number
Example
[ [ 50, 50 ], "percentUnit" ]