Applies the flood filter effect.
The FloodFX class is an output-only effect that fills its target area with a single colour value.
The FloodFX class consists of the following fields:
Access | Name | Type | Comment |
|---|---|---|---|
| Colour | FLOAT [] | The colour of the fill in RGB float format. | |
This field defines the colour of the flood fill in floating-point RGBA format, in a range of 0 - 1.0 per component. The colour is complemented by the Opacity field. | |||
| Opacity | DOUBLE | Modifies the opacity of the flood colour. | |
| XMLDef | STRING | Returns an SVG compliant XML string that describes the effect. | |
The following actions are currently supported:
| Draw | Render the effect to the target bitmap. | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
ERR acDraw(*Object, DOUBLE X, DOUBLE Y, DOUBLE Width, DOUBLE Height)
| ||||||||||||