Performs a flood-fill starting at specified coordinates.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- x
- Int32
Flood-fill starting horizontal position.
- y
- Int32
Flood-fill starting vertical position.
- newColor
- IERGB
The color used to paint.
- tolerance
- Int32
Specifies the maximum difference from the starting pixel (0=no tolerance, pixels must be equals).
Examples
CopyC#
// assuming X,Y = mouse coordinates, paints points to red ieViewer1.Image.CastColor(ieViewer1.Image.XClientToBitmap(X), ieViewer1.Image.YClientToBitmap(Y), new IERGB(255,0,0), 0);