- Aurigma Graphics Mill 5.5 for .NET
- Introduction
- What's New?
- Overview of Features
- Getting Started
- Programming with Graphics Mill for .NET
- File Formats
- Graphics Mill for .NET Add-ons
- Class Library Reference
- Aurigma.GraphicsMill Namespace
- Aurigma.GraphicsMill.AjaxControls Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace
- Aurigma.GraphicsMill.Codecs Namespace
- Aurigma.GraphicsMill.Drawing Namespace
- Aurigma.GraphicsMill.Licensing Namespace
- Aurigma.GraphicsMill.Transforms Namespace
- AddNoise Class
- AdjustHsl Class
- ApplyLut Class
- ApplyMatrixTransform Class
- BitmapTransform Class
- Blur Class
- BlurType Enumeration
- Brightness Class
- BrightnessContrast Class
- Buttonize Class
- ChannelBalance Class
- ColorManagementEngine Enumeration
- ColorQuantizationAlgorithm Enumeration
- ColorTransformationIntent Enumeration
- CombineMode Enumeration
- Combiner Class
- Contrast Class
- Crop Class
- Curves Class
- Cylindrize Class
- Direction Enumeration
- DistributionKind Enumeration
- DitheringType Enumeration
- EdgeDetect Class
- EdgeDetectMode Enumeration
- Emboss Class
- FadeType Enumeration
- FloodFill Class
- FloodFill Members
- FloodFill Constructor
- FloodFill Constructor
- FloodFill Constructor (Point, Color, Color, FloodFillMode, Single)
- FloodFill Constructor (PointF, Color, Color, FloodFillMode, Single)
- FloodFill Constructor (Int32, Int32, Color, Color, FloodFillMode, Single)
- FloodFill Constructor (Single, Single, Color, Color, FloodFillMode, Single)
- FloodFill Constructor (Point, Color, Color, FloodFillMode, Single, Boolean, Boolean)
- FloodFill Constructor (PointF, Color, Color, FloodFillMode, Single, Boolean, Boolean)
- FloodFill Constructor (Int32, Int32, Color, Color, FloodFillMode, Single, Boolean, Boolean)
- FloodFill Constructor (Single, Single, Color, Color, FloodFillMode, Single, Boolean, Boolean)
- FloodFill Methods
- FloodFill Properties
- FloodFillMode Enumeration
- Glow Class
- HistogramEqualize Class
- InterpolationMode Enumeration
- Invert Class
- Levels Class
- Lut Class
- MaskedBitmapTransform Class
- Matrix Class
- MaximumFilter Class
- MedianFilter Class
- MinimumFilter Class
- Mosaic Class
- Orientation Enumeration
- PageCurl Class
- PerChannelBitmapTransform Class
- PixelFormatConverter Class
- RedEyeBlob Class
- RedEyeMask Class
- RedEyeRemoval Class
- RedEyeRemovalMode Enumeration
- Resize Class
- ResizeMode Enumeration
- Rotate Class
- RotateAndFlip Class
- Shadow Class
- Sharpen Class
- Solarize Class
- Spray Class
- SwapChannels Class
- Swirl Class
- Texturize Class
- Transparentize Class
- UnsharpMask Class
- Waddle Class
- WaterDrop Class
- Wave Class
- WaveType Enumeration
- Aurigma.GraphicsMill.WebControls Namespace
- Aurigma.GraphicsMill.WinControls Namespace
- GraphicsMill Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace (Client Class Library)
- Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo Namespace (Client Class Library)
- Samples
- Licensing
- Copyright Notices
This documentation is for the old version. Go to the latest Graphics Mill docs
FloodFill Constructor (Single, Single, Color, Color, FloodFillMode, Single)
Creates and initializes new FloodFill class instance. You can set main flood fill parameters here.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
Visual Basic
Public Sub New ( _
x As Single, _
y As Single, _
fillColor As Color, _
targetColor As Color, _
mode As FloodFillMode, _
tolerance As Single _
)
C#
public FloodFill(
float x,
float y,
Color fillColor,
Color targetColor,
FloodFillMode mode,
float tolerance
)
Parameters
- x
-
Type: System.Single
X-coordinate of the point to start filling from. You can change it later using Point property.
- y
-
Type: System.Single
Y-coordinate of the point to start filling from. You can change it later using Point property.
- fillColor
-
Type: Aurigma.GraphicsMill.Color
Color value that specifies a color to fill with. You can change it later using FillColor property.
- targetColor
-
Type: Aurigma.GraphicsMill.Color
The Color which is used to determine the filling area boundaries. The method behaviour depends on mode argument value. If mode is UntilColor, this is a boundary color (when algorithm meets this color, it stops filling). If mode is TillColor, this is a surface color (algorithm continue filling till current color is the same as target color). You can change it later using TargetColor property.
- mode
-
Type: Aurigma.GraphicsMill.Transforms.FloodFillMode
FloodFillMode value specifying how to determine the filling area boundary (see comments for targetColor). You can change it later using Mode property.
- tolerance
-
Type: System.Single
Value in range [0, 1] specifying admissible tolerance (distance between colors in color space) when comparing current color and target color (see comments for targetColor). Minimum value (0) means exact match of the colors, maximum value (1) means that any color matches. You can change it later using Tolerance property.