You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Effects and Filters > FloodFill Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.FloodFill Method

Fills an area of a GdPicture image with a specific color.

C#
public GdPictureStatus FloodFill(
    int ImageID, 
    int XStart, 
    int YStart, 
    Color FillColor
);
Visual Basic
Public Function FloodFill(
    ByVal ImageID As Integer, 
    ByVal XStart As Integer, 
    ByVal YStart As Integer, 
    ByVal FillColor As Color
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
XStart 
Specifies the x-coordinate, in pixel, of the point where filling is to start.  
YStart 
Specifies the y-coordinate, in pixel, of the point where filling is to start.  
FillColor 
Color Object. You can build a Color Object using the ARGB() function. Color to use for the filling operation.  
Returns

A member of the GdPictureStatus enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.