SVGBuilderExtensions.FloodColor

FloodColor(this TBuilder, Color)

Sets the ‘flood-color’ attribute for an SVG element using a System.Drawing color.

public static TBuilder FloodColor<TBuilder>(this TBuilder builder, Color colorValue)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
colorValueThe color to set as the flood color.

Return Value

The builder instance for chaining.

See Also


FloodColor(this TBuilder, Action<ColorBuilder>)

Sets the ‘flood-color’ attribute for an SVG element using a custom color configuration.

public static TBuilder FloodColor<TBuilder>(this TBuilder builder, Action<ColorBuilder> configure)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureA delegate to configure the ColorBuilder.

Return Value

The builder instance for chaining.

See Also