Last active
September 19, 2019 16:47
-
-
Save steveck-chung/19bea150b1a923cf138492926cd3b5ea to your computer and use it in GitHub Desktop.
Group with mask
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"elements": { | |
"1:3": { | |
"currStateId": "fake-element-cuid-1", | |
"id": "1:3", | |
"isMask": true, | |
"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": -120, | |
"width": 238, | |
"height": 173 | |
}, | |
"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": 173, | |
"id": "fake-group-cuid", | |
"name": "Default state", | |
"opacity": 1, | |
"pivot": [0.5, 0.5, 0.5], | |
"transform": [ | |
[ | |
1, | |
0, | |
260 | |
], | |
[ | |
0, | |
1, | |
219 | |
] | |
], | |
"type": "GROUP_STATE", | |
"width": 238, | |
"x": 260, | |
"y": 219, | |
"z": 0 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment