Skip to content

Instantly share code, notes, and snippets.

@machinaut
Forked from mwoodworth/Arc_Snippet.json
Created November 6, 2011 06:09
Show Gist options
  • Save machinaut/1342544 to your computer and use it in GitHub Desktop.
Save machinaut/1342544 to your computer and use it in GitHub Desktop.
Upverter Open JSON Shapes
"shapes": [
{
"start_angle": 0.5,
"end_angle": 1.5,
"type": "arc",
"radius": 10,
"x": 10,
"y": -10
}
]
"shapes": [
{
"control1": {
"x": 9,
"y": -10
},
"control2": {
"x": 11,
"y": -10
},
"p1": {
"x": 3,
"y": -12
},
"p2": {
"x": 17,
"y": -12
},
"type": "bezier"
}
]
"shapes": [
{
"radius": 3,
"type": "circle",
"x": 10,
"y": -27
}
]
"shapes": [
{
"align": "left",
"rotation": 0.0,
"text": "1",
"type": "label",
"x": 9,
"y": -14
}
]
"shapes": [
{
"p1": {
"x": 13,
"y": -5
},
"p2": {
"x": 18,
"y": -15
},
"type": "line"
}
]
"shapes": [
{
"points": [
{
"x": 13,
"y": -5
},
{
"x": 45,
"y": -10
},
{
"x": 45,
"y": -30
},
{
"x": 13,
"y": -15
}
],
"type": "polygon"
}
]
"shapes": [
{
"height": 100,
"type": "rectangle",
"width": 110,
"x": 5,
"y": -5
}
]
"shapes": [
{
"height": 100,
"radius": 3,
"type": "rounded_rectangle",
"width": 110,
"x": 5,
"y": -5,
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment