Initializes a new instance of the FloodFill class using the specified settings.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public FloodFill( int x, int y, Color fillColor, Color targetColor, FloodFillMode mode, float tolerance, bool preserveAlpha, bool processHalftones )
Type: System.Int32
The x-coordinate of the point to start filling from. You can change it later using the Point property.Type: System.Int32
The y-coordinate of the point to start filling from. You can change it later using the Point property.Type: Aurigma.GraphicsMill.Color
A Color to fill with. You can change it later using the FillColor property.Type: Aurigma.GraphicsMill.Color
A Color used to determine the filling area boundaries. You can change it later using the TargetColor property.Type: Aurigma.GraphicsMill.Transforms.FloodFillMode
A FloodFillMode value specifying how to determine the filling area boundary. You can change it later using the Mode property.Type: System.Single
The tolerance for the target color in range [0, 1]. You can change it later using the Tolerance property.Type: System.Boolean
true
if to preserve alpha channel; otherwise, false
. You can change it later using the PreserveAlpha property.Type: System.Boolean
true
if tolerant colors are alpha-blended; otherwise, false
. You can change it later using the ProcessHalftones property.