All functions Mac OS X Windows Crossplatform Components New in version: 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0
Component: GraphicsMagick
Mac OS X: Works
Windows: Works
MBS( "GMImage.FloodFillOpacity"; ImageRef; x; y; opacity; PaintMethod )
Parameter | Description | Example value |
---|---|---|
ImageRef | The image reference (a number returned from the GMImage.New functions) | 1 |
x | The X Position | 0 |
y | The Y Position | 0 |
opacity | A value from 0 to 255 | 127 |
PaintMethod | PointMethod = 0, ReplaceMethod = 1, FloodfillMethod = 2, FillToBorderMethod = 3, ResetMethod = 4 | 1 |
Returns "OK" on success.
Floodfill pixels matching color (within fuzz factor) of target pixel(x,y) with replacement opacity value using method.
Feedback: Report problem or ask question.