HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

feFlood

Description

The feFlood element for SVG specifies a rectangle with color and opacity.

The rectangle is as large as the filter primitive subregion.

Syntax

Attributes

flood-color

Specifies the color of the filter primitive subregion.

Value
<color>
Default
black

flood-opacity

Specifies the opacity of the filter primitive subregion.

If the value of the flood-color attribute includes an alpha channel, the alpha channel gets multiplied with the computed value of the flood-opacity attribute.

Value
<alpha-value>
Default
1

Examples

flood-color

<color>

flood-opacity

<alpha-value>