DrawColor
DrawColor -- draws color on an image using the current fill color
Description
void DrawColor( DrawingWand drw_wnd, float x, float y, int paint_method )
Draws color on an image using the current fill color, starting at the position specified by (x, y), and using the specified paint method, paint_method. paint_method must be one of the available paint methods, (i.e.: A PaintMethod constant), one of the following: MW_PointMethod: Recolors the target pixel MW_ReplaceMethod: Recolors any pixel that matches the target pixel. MW_FloodfillMethod: Recolors target pixels and matching neighbors. MW_FillToBorderMethod: Recolors target pixels and neighbors not matching border color. MW_ResetMethod: Recolors all pixels.
A description of each parameter follows:
| drw_wnd | A DrawingWand resource |
| x | The x ordinate of the start position |
| y | The y ordinate of the start position |
| paint_method | A PaintMethod constant |