Answer the question
In order to leave comments, you need to log in
Why are lines distorted when drawing in WPF?
Hello. Drawing animation on canvas using C#. She looks like this .
At the bottom right, a line comes out of the circle. I tried to remove a few lines from the animations and noticed that then everything is already drawn normally:
Example 1
Example 2
That is, this bug appears due to the "overlapping" of several lines on top of each other. The question is how to fix it? I draw lines like this:
Polyline lineDAB = new Polyline{ Stroke = Brushes.Black, StrokeThickness = 2 };
lineDAB.Points.Add(new Point(...));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question