add transparent_3d test

This commit is contained in:
Gavin Nishizawa 2022-11-28 14:10:30 -08:00
parent 3d6c19697e
commit d6fddfc749
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD
5 changed files with 150 additions and 0 deletions

View file

@ -986,6 +986,20 @@ sugar -> c
c: mixed together
c -> solution: we get
`,
},
{
name: "transparent_3d",
script: `
cube: {
style: {
3d: true
opacity: 0.5
fill: orange
stroke: "#53C0D8"
stroke-width: 7
}
}
`,
},
}

View file

@ -0,0 +1,44 @@
{
"name": "",
"shapes": [
{
"id": "cube",
"type": "",
"pos": {
"x": 0,
"y": 0
},
"width": 139,
"height": 126,
"level": 1,
"opacity": 0.5,
"strokeDash": 0,
"strokeWidth": 7,
"borderRadius": 0,
"fill": "orange",
"stroke": "#53C0D8",
"shadow": false,
"3d": true,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"fields": null,
"methods": null,
"columns": null,
"label": "cube",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 39,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER"
}
],
"connections": []
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 324 KiB

View file

@ -0,0 +1,44 @@
{
"name": "",
"shapes": [
{
"id": "cube",
"type": "",
"pos": {
"x": 12,
"y": 12
},
"width": 139,
"height": 126,
"level": 1,
"opacity": 0.5,
"strokeDash": 0,
"strokeWidth": 7,
"borderRadius": 0,
"fill": "orange",
"stroke": "#53C0D8",
"shadow": false,
"3d": true,
"multiple": false,
"tooltip": "",
"link": "",
"icon": null,
"iconPosition": "",
"fields": null,
"methods": null,
"columns": null,
"label": "cube",
"fontSize": 16,
"fontFamily": "DEFAULT",
"language": "",
"color": "#0A0F25",
"italic": false,
"bold": true,
"underline": false,
"labelWidth": 39,
"labelHeight": 26,
"labelPosition": "INSIDE_MIDDLE_CENTER"
}
],
"connections": []
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 324 KiB