FloodPrimitive Class

A primitive that fills its subregion with a color: feFlood of SVG.

public sealed class FloodPrimitive : FilterPrimitive

Remarks

It has no input: by default, its subregion is the region of the filter.

Inheritance
FilterPrimitive FloodPrimitive

Constructors

NameDescription
FloodPrimitive(Rgba64)Initializes a new instance of the FloodPrimitive class.

FloodPrimitive(Rgba64)

FloodPrimitive.cs

Initializes a new instance of the FloodPrimitive class.

public FloodPrimitive(Rgba64 color)

Parameters

color Rgba64
The color, with straight alpha: flood-color and flood-opacity. An Rgba32 converts implicitly.

Properties

NameDescription
ColorGets the color.

Gets the color.

public Rgba64 Color { get; }

Property value

Rgba64