Custom Shape Object Simplified Format

Simplified format

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

customShape : five-element JSON array: [ name, left, top, right, bottom ]

name : string
left : number
top : number
right : number
bottom : number

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

Example

[ [ "Yin Yang", 20, 20, 80, 80 ], "percentUnit" ]

Yin Yang Custom Shape

Tags: , , , ,

Comments are closed.