Skip to content

Instantly share code, notes, and snippets.

@steveck-chung
Last active September 19, 2019 16:47
Show Gist options
  • Save steveck-chung/ff90f77b7f2f3f31fae8944596b32a01 to your computer and use it in GitHub Desktop.
Save steveck-chung/ff90f77b7f2f3f31fae8944596b32a01 to your computer and use it in GitHub Desktop.
Normal group
{
"elements": {
"1:3": {
"currStateId": "fake-element-cuid-1",
"id": "1:3",
"isMask": false,
"locked": false,
"name": "Rectangle",
"parentId": "1:5",
"screenId": "1:2",
"stateIds": ["fake-element-cuid-1"],
"type": "POLYGON",
"visible": true
},
"1:4": {
"currStateId": "fake-element-cuid-2",
"id": "1:4",
"isMask": false,
"locked": false,
"name": "Polygon",
"parentId": "1:5",
"screenId": "1:2",
"stateIds": ["fake-element-cuid-2"],
"type": "POLYGON",
"visible": true
},
"1:5": {
"booleanOperation": "NONE",
"childrenIds": ["1:3", "1:4"],
"currStateId": "fake-group-cuid",
"expanded": false,
"id": "1:5",
"locked": false,
"name": "Group",
"parentId": "1:2",
"screenId": "1:2",
"stateIds": ["fake-group-cuid"],
"type": "GROUP",
"visible": true
}
},
"states": {
"fake-element-cuid-1": {
"blendMode": "NORMAL",
"borders": [],
"boundingBox": {
"height": 173,
"width": 238,
"x": -212,
"y": -120
},
"cornerRadius": 0,
"effects": [],
"elemId": "1:3",
"fills": [{
"blendMode": "NORMAL",
"color": {
"a": 1,
"b": 0.7708333134651184,
"g": 0.518578052520752,
"r": 0.38862845301628113
},
"type": "SOLID",
"visible": true
}],
"height": 173,
"id": "fake-element-cuid-1",
"innerShadows": [],
"name": "Default state",
"opacity": 1,
"pivot": [0.5, 0.5, 0.5],
"shadows": [],
"starRatio": 0,
"transform": [
[1, 0, 0],
[0, 1, 1.750624179840088]
],
"type": "POLYGON_STATE",
"vertexCount": 4,
"width": 238,
"x": 0,
"y": 1.7506256103515625,
"z": 0
},
"fake-element-cuid-2": {
"blendMode": "NORMAL",
"borders": [],
"boundingBox": {
"height": 336.5012512207031,
"width": 336.5012512207031,
"x": -173.75062561035156,
"y": -121.75061798095703
},
"cornerRadius": 0,
"effects": [],
"elemId": "1:4",
"fills": [{
"blendMode": "NORMAL",
"color": {
"a": 1,
"b": 0.14947915077209473,
"g": 0.8541666865348816,
"r": 0.20585417747497559
},
"type": "SOLID",
"visible": true
}],
"height": 241,
"id": "fake-element-cuid-2",
"innerShadows": [],
"name": "Default state",
"opacity": 1,
"pivot": [0.5, 0.5, 0.5],
"shadows": [],
"starRatio": 0,
"transform": [
[0.8104163408279419, 0.5858543515205383, 38.2493782043457],
[-0.5858543515205383, 0.8104163408279419, 141.19090270996094]
],
"type": "POLYGON_STATE",
"vertexCount": 3,
"width": 241,
"x": 38.24937438964844,
"y": 0.00000762939453125,
"z": 0
},
"fake-group-cuid": {
"boundingBox": {
"x": -212,
"y": -121.75062561035156,
"width": 374.7506103515625,
"height": 336.50125122070312
},
"childrenState": {
"1:3": "fake-element-cuid-1",
"1:4": "fake-element-cuid-2"
},
"effects": [{
"type": "SCALE",
"visible": true,
"x": 1,
"y": 1
}],
"elemId": "1:5",
"height": 336.5012512207031,
"id": "fake-group-cuid",
"name": "Default state",
"opacity": 1,
"pivot": [0.5, 0.5, 0.5],
"transform": [
[
1,
0,
260
],
[
0,
1,
217.24937438964844
]
],
"type": "GROUP_STATE",
"width": 374.7506103515625,
"x": 260,
"y": 217.24937438964844,
"z": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment