Added AddMethod and Default x,y,width,height on Add
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Siklos 2022-08-15 22:07:08 +02:00
parent b8bd179167
commit 522cd722c0
5 changed files with 63 additions and 22 deletions

View file

@ -62,20 +62,34 @@ const GetSVGLayoutConfiguration = () => {
},
{
Type: 'Trou',
Width: 300,
DefaultX: 10,
DefaultY: 10,
Width: 480,
Height: 180,
Style: {
fillOpacity: 0,
borderWidth: 2,
stroke: 'green'
}
},
{
Type: 'Remplissage',
Style: {
fillOpacity: 1,
borderWidth: 2,
stroke: '#bfdbfe',
fill: '#bfdbfe'
}
},
{
Type: 'Montant',
Width: 100,
Width: 10,
XPositionReference: 1,
Style: {
fillOpacity: 0,
borderWidth: 2,
stroke: 'blue',
stroke: '#713f12',
fill: '#713f12'
}
}
],