Curve Point List Simplified Format

Explicit format

Defined as a JSON array of curve points, each one being a JSON object:
{
    "horizontal": horizontal,
    "vertical": vertical,
    "continuity": continuity
}

horizontal : number (0 to 255)
vertical : number (0 to 255)
continuity : boolean (optional, true by default)

Minimal format

Defined as a JSON array of curve points, each one being a three-element JSON array:
[ horizontal, vertical, continuity ]

horizontal : number (0 to 255)
vertical : number (0 to 255)
continuity : boolean (optional, true by default)

Example

[
    { "horizontal": 0, "vertical": 0 },
    { "horizontal": 75, "vertical": 150 },
    { "horizontal": 175, "vertical": 25, "continuity": false },
    { "horizontal": 255, "vertical": 255 }
]
[ [ 0, 0 ], [ 75, 150 ], [ 175, 25, false ], [ 255, 255 ] ]

Contour Editor Corner Curve Point

Tags: , , , , ,

Comments are closed.