This commit is contained in:
Bachir Soussi Chiadmi 2023-06-16 14:15:14 +02:00
parent 6dee6fb1d9
commit a3fa2ef000

View File

@ -1195,34 +1195,34 @@ export default {
}), }),
new paper.Path.Line({ new paper.Path.Line({
from: [this.pos.x, this.pos.y -r], from: [this.pos.x, this.pos.y -r],
to: [this.pos.x, this.pos.y - r - 8], to: [this.pos.x, this.pos.y - r - 9],
style: legende_style style: legende_style
}), }),
new paper.PointText({ new paper.PointText({
point: [this.pos.x, this.pos.y - r - 9], point: [this.pos.x, this.pos.y - r - 11],
content: "Décision", content: "Décision",
fontSize: fontsize, fontSize: fontsize,
justification: 'center' justification: 'center'
}), }),
// bas // bas
// new paper.Path.Circle({ new paper.Path.Circle({
// center: [this.pos.x, this.pos.y + r], center: [this.pos.x, this.pos.y + r],
// radius: 0.5, radius: 0.5,
// style: { style: {
// fillColor: '#000' fillColor: '#000'
// } }
// }), }),
// new paper.Path.Line({ new paper.Path.Line({
// from: [this.pos.x, this.pos.y + r], from: [this.pos.x, this.pos.y + r],
// to: [this.pos.x, this.pos.y + r + 8], to: [this.pos.x, this.pos.y + r + 9],
// style: legende_style style: legende_style
// }), }),
// new paper.PointText({ new paper.PointText({
// point: [this.pos.x, this.pos.y + r + 10], point: [this.pos.x, this.pos.y + r + 14],
// content: "Début du cercle\nLe problème\n(injustice, indignation, plainte...)", content: "Début du cercle\nLe problème\n(injustice, indignation, plainte...)",
// fontSize: fontsize, fontSize: fontsize,
// justification: 'center' justification: 'center'
// }), }),
// droite // droite
new paper.Path.Circle({ new paper.Path.Circle({
center: [this.pos.x + r, this.pos.y], center: [this.pos.x + r, this.pos.y],
@ -1237,7 +1237,7 @@ export default {
style: legende_style style: legende_style
}), }),
new paper.PointText({ new paper.PointText({
point: [this.pos.x + r + 9, this.pos.y - 0.5], point: [this.pos.x + r + 10, this.pos.y - 0.5],
content: "Adresse de la décision\nà appliquer", content: "Adresse de la décision\nà appliquer",
fontSize: fontsize, fontSize: fontsize,
justification: 'left' justification: 'left'
@ -1256,7 +1256,7 @@ export default {
style: legende_style style: legende_style
}), }),
new paper.PointText({ new paper.PointText({
point: [this.pos.x - r - 9, this.pos.y + 0.4], point: [this.pos.x - r - 10, this.pos.y + 0.4],
content: "Adresse de la doléance", content: "Adresse de la doléance",
fontSize: fontsize, fontSize: fontsize,
justification: 'right' justification: 'right'
@ -1372,39 +1372,39 @@ export default {
let o_d = Math.cos(22.5*(Math.PI/180)) * r/2; // x @ 22.5° for demi rayon let o_d = Math.cos(22.5*(Math.PI/180)) * r/2; // x @ 22.5° for demi rayon
let p_d = Math.sin(22.5*(Math.PI/180)) * r/2; // y @ 22.5° for demi rayon let p_d = Math.sin(22.5*(Math.PI/180)) * r/2; // y @ 22.5° for demi rayon
let fontsize = 2.1; // let fontsize = 4;
// // //
// POINTS CARDINAUX // // POINTS CARDINAUX
// // //
// le problème // // le problème
// // //
g.addChild(new paper.Path.Circle({ // g.addChild(new paper.Path.Circle({
center: [this.pos.x, this.pos.y + r], // center: [this.pos.x, this.pos.y + r],
radius: 0.5, // radius: 0.5,
style: { // style: {
fillColor: '#fff' // fillColor: '#fff'
} // }
})); // }));
g.addChild(new paper.Path.Line({ // g.addChild(new paper.Path.Line({
from: [this.pos.x, this.pos.y + r], // from: [this.pos.x, this.pos.y + r],
to: [this.pos.x, this.pos.y + r + 8], // to: [this.pos.x, this.pos.y + r + 8],
strokeColor: '#fff' // strokeColor: '#fff'
})); // }));
g.addChild(new paper.PointText({ // g.addChild(new paper.PointText({
point: [this.pos.x, this.pos.y + r + 10], // point: [this.pos.x, this.pos.y + r + 10],
content: "Début du cercle\nLe problème (injustice, indignation, plainte...)", // content: "Début du cercle\nLe problème (injustice, indignation, plainte...)",
fontSize: fontsize, // fontSize: fontsize,
fillColor: '#000', // fillColor: '#000',
justification: 'center' // justification: 'center'
})); // }));
g.addChild(new paper.PointText({ // g.addChild(new paper.PointText({
point: [this.pos.x, this.pos.y + r + 16], // point: [this.pos.x, this.pos.y + r + 16],
content: doleance['leprobleme'], // content: doleance['leprobleme'],
fontSize: 2.3, // fontSize: 2.3,
fillColor: '#fff', // fillColor: '#fff',
justification: 'center' // justification: 'center'
})); // }));
// //
// CAMENBERT STATIQUES // CAMENBERT STATIQUES