The source image data to process.
The starting horizontal coordinate.
The starting vertical coordinate.
If true, only connected pixels are selected. If false, all pixels within tolerance are selected regardless of position.
The maximum allowed difference in color distance (0-255) for a pixel to be included.
Optionalbounds: RectOptional bounding box to restrict the search area.
Optionalout: FloodFillResultoutput object
A FloodFillResult containing the mask and bounds of the selection,
or null if the starting coordinates are out of bounds.
Performs a color-based flood fill selection PixelData. This utility identifies pixels starting from a specific coordinate that fall within a color tolerance. It can operate in "contiguous" mode (classic bucket fill) or "non-contiguous" mode (selects all matching pixels in the buffer).