Offset Object Simplified Format

Simplified format

Defined as a two-element JSON array: [ offset, unit ]

offset : two-element JSON array: [ horizontal, vertical ]

horizontal : number
vertical : number

unit : string (among "distanceUnit", "percentUnit", "pixelsUnit")

Example

[ [ 50, 50 ], "percentUnit" ]

Tags: , , ,

Comments are closed.