
i want to retrieve a points array (IntPoint) array from Line or a points array between two IntPoints ,,
in order to process each point
is there a way to do that ?
- Code: Select all
Line line = new Line(currentPoint, nextPoint);
foreach (IntPoint point in line) //<<<<< line is not IntPoint[]
if (bmp.GetPixel(point.X, point.Y).R > 0)
iswhite++;