I am creating an application in which I have to draw a Quadratic Curve. I did this using Polyline as:
BindPoints = new PointCollection();
for (int i = 0; i < 100; i++)
{
double val = i * i - 5;
var point = new Point(i, val);
Points.Add(new Point(i, i));
BindPoints.Add(point);
}
<Polyline Name="MyLine" Points="{Binding BindPoints,Mode=TwoWay} Stroke="Black" StrokeThickness="4" />
Now the issue is that I want to replace each point with an Image of 1 Pixel height. So it gives me an effect of a line but drawn with Images instead of points.
The Goal is to stack images on top of each other so they look like a line/curve.