Skip to content

Latest commit

 

History

History
 
 

Ellipse-Object-Simplified-Format

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Ellipse Object Simplified Format

  • Input format of jamHelpers.toEllipseObject.

Simplified format

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

ellipse : four-element JSON array: [ left, top, right, bottom ]
unit : string (among "distanceUnit", "percentUnit", "pixelsUnit")

left : number
top : number
right : number
bottom : number

Example

[ [ 10, 10, 90, 90 ], "percentUnit" ]

Ellipse