diff --git a/Documentations/README.md b/Documentations/README.md deleted file mode 100644 index 3570eb9..0000000 --- a/Documentations/README.md +++ /dev/null @@ -1 +0,0 @@ -# TheGameExtreme diff --git a/Documentations/Rapport_DUPLAND.docx b/Documentations/Rapport_DUPLAND.docx index 093b1eb..0257c95 100644 Binary files a/Documentations/Rapport_DUPLAND.docx and b/Documentations/Rapport_DUPLAND.docx differ diff --git a/OrderStacks/view/TouchManipulationCard.cs b/OrderStacks/view/TouchManipulationCard.cs index 9f3039d..a983eee 100644 --- a/OrderStacks/view/TouchManipulationCard.cs +++ b/OrderStacks/view/TouchManipulationCard.cs @@ -108,6 +108,11 @@ namespace OrderStacks.view card = new SKRect(-width, -height - textPaint.TextSize, width + textPaint.MeasureText(display), height); } + SKPaint paint = new SKPaint(); + paint.Color = Color; + paint.StrokeWidth = 5; + paint.Style = SKPaintStyle.Stroke; + // Permet de traiter les fractions if (Value.GetType() == typeof(FractionCardVM)) { @@ -149,8 +154,6 @@ namespace OrderStacks.view xDen -= textPaint2.MeasureText("-"); } - SKPaint paint = textPaint1; - paint.Style = SKPaintStyle.Stroke; canvas.DrawRect(card, paint); canvas.DrawText(((FractionCardVM)Value).Fraction.Numerateur.ToString(), xNum, -height * 0.5f, textPaint); canvas.DrawText(fractionBarre, -textPaint1.MeasureText("_") * 0.5f, -textPaint1.TextSize * 0.5f, textPaint1); @@ -158,8 +161,6 @@ namespace OrderStacks.view } else { - SKPaint paint = textPaint; - paint.Style = SKPaintStyle.Stroke; canvas.DrawRect(card, paint); canvas.DrawText(display, 0, 0, textPaint); }