FloodSpill is a fast multi-purpose flood-fill algorithm for C#. It lets you run a flood in two-dimensional space, configure it with your own conditions and callbacks and choose between FIFO, LIFO or priority-based order for processing positions. Includes possibility of performing scanline-fill for better performance.
Install-Package FloodSpill -Version 1.0.4
dotnet add package FloodSpill --version 1.0.4
<PackageReference Include="FloodSpill" Version="1.0.4" />
paket add FloodSpill --version 1.0.4
First complete release.