Implement flood-fill in wpf c#
Hi, I am trying to implement flood-fill on a 2d matrix. It is similar to the fill color of MS Paint or any other painting application. Following is the code void FloodFill(int x, int y, Color targetColor, Color replacementColor) { LinkedList<Point> check = new LinkedList<Point>(); if (targetColor != replacementColo...