Skip to content

Latest commit

 

History

History

Point-Object-Simplified-Format

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

README.md

Point Object Simplified Format

  • Input format of jamHelpers.toPointObject.

Simplified format

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

point : two-element JSON array: [ horizontal, vertical ]
unit : string (among "distanceUnit", "percentUnit", "pixelsUnit")

horizontal : number
vertical : number

Example

[ [ 20, 10 ], "pixelsUnit" ]