Skip to content

Instantly share code, notes, and snippets.

@steveck-chung
Created September 19, 2019 03:27
Show Gist options
  • Save steveck-chung/09aa82390f1aa78a2a179eff7349ab28 to your computer and use it in GitHub Desktop.
Save steveck-chung/09aa82390f1aa78a2a179eff7349ab28 to your computer and use it in GitHub Desktop.
Polygon(Triangle with blur effect)
{
"elements": {
"1:3": {
"currStateId": "fake-cuid",
"id": "1:3",
"isMask": false,
"locked": false,
"name": "Polygon",
"parentId": "1:2",
"screenId": "1:2",
"stateIds": ["fake-cuid"],
"type": "POLYGON",
"visible": true
}
},
"states": {
"fake-cuid": {
"blendMode": "NORMAL",
"borders": [],
"boundingBox": {
"height": 398.056884765625,
"width": 437.38995361328125,
"x": -304.1949768066406,
"y": -248.0284423828125
},
"cornerRadius": 10,
"effects": [{
"radius": 5,
"type": "LAYER_BLUR",
"visible": true
}],
"elemId": "1:3",
"fills": [{
"blendMode": "NORMAL",
"color": {
"a": 1,
"b": 0.10500001907348633,
"g": 0.10500001907348633,
"r": 0.8999999761581421
},
"opacity": 1,
"type": "SOLID",
"visible": true
}, {
"blendMode": "NORMAL",
"gradient": {
"handlePositions": [{
"x": 0.5,
"y": -3.0616171314629196e-17
}, {
"x": 0.5,
"y": 0.9999999999999999
}, {
"x": 0,
"y": 0
}],
"stops": [{
"color": {
"a": 1,
"b": 1,
"g": 1,
"r": 1
},
"position": 0
}, {
"color": {
"a": 0,
"b": 1,
"g": 1,
"r": 1
},
"position": 1
}]
},
"opacity": 1,
"type": "GRADIENT_LINEAR",
"visible": true
}],
"height": 272,
"id": "fake-cuid",
"innerShadows": [],
"name": "Default state",
"opacity": 1,
"pivot": [0.5, 0.5, 0.5],
"shadows": [],
"starRatio": 0,
"transform": [
[0.9031717777252197, 0.4292793273925781, 228.80502319335938],
[-0.4292793273925781, 0.9031717777252197, 224.36572265625]
],
"type": "POLYGON_STATE",
"vertexCount": 3,
"width": 355,
"x": 228.80502319335938,
"y": 71.9715576171875,
"z": 0
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment