4
4
Fork 0
This repository has been archived on 2025-01-20. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
json-photoshop-scripting/JSON-Simplified-Formats/Offset-Object-Simplified-Format
2018-04-15 16:41:40 +02:00
..
README.md First commit 2018-04-15 16:41:40 +02:00

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" ]