SVGBuilderExtensions.AddFeDropShadow

AddFeDropShadow<TBuilder>(this TBuilder, double?, double?, OneOf<double, (double, double)>, OneOf<string, FilterInput>, string, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<double, (double, LengthType)>, OneOf<Color, Paint, string>, OneOf<Color, Paint, string>, string, Action<SVGFEDropShadowElementBuilder>)

Adds an ‘feDropShadow’ element to the SVG builder, creating a drop shadow effect for the input graphic.

public static TBuilder AddFeDropShadow<TBuilder>(this TBuilder builder, double? dx = null, 
    double? dy = null, OneOf<double, (double, double)> stdDeviation = null, 
    OneOf<string, FilterInput> @in = null, string result = null, 
    OneOf<double, (double, LengthType)> x = null, OneOf<double, (double, LengthType)> y = null, 
    OneOf<double, (double, LengthType)> width = null, 
    OneOf<double, (double, LengthType)> height = null, OneOf<Color, Paint, string> fill = null, 
    OneOf<Color, Paint, string> stroke = null, string id = null, 
    Action<SVGFEDropShadowElementBuilder> extend = null)
    where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder, facilitating fluent API usage.
builderThe SVG builder instance to which the ‘feDropShadow’ element will be added.
dxThe horizontal offset for the drop shadow. Optional parameter.
dyThe vertical offset for the drop shadow. Optional parameter.
stdDeviationThe standard deviation for the blur operation in the drop shadow. Can be a double or a ValueTuple of two doubles. Optional parameter.
inThe input graphic to which the drop shadow will be applied. Can be a string or a FilterInput. Optional parameter.
resultThe result identifier for this filter primitive. Optional parameter.
xThe x-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.
yThe y-coordinate of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.
widthThe width of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.
heightThe height of the filter primitive subregion. Can be a double or a ValueTuple with LengthType. Optional parameter.
fillThe fill color, paint or paint server id for the element. Optional parameter.
strokeThe stroke color, paint or paint server id for the element. Optional parameter.
idThe unique identifier for the filter primitive element. Optional parameter.
extendAn optional action to further configure the SVGFEDropShadowElementBuilder.

Return Value

The builder instance, allowing for method chaining.

See Also


AddFeDropShadow<TBuilder>(this TBuilder, Action<SVGFEDropShadowElementBuilder>)

Adds an ‘feDropShadow’ element configuration to the builder. This element creates a drop shadow effect.

public static TBuilder AddFeDropShadow<TBuilder>(this TBuilder builder, 
    Action<SVGFEDropShadowElementBuilder> configure)
    where TBuilder : ISVGElementBuilder, IFilterPrimitiveElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureThe configuration action for the ‘feDropShadow’ element.

Return Value

The builder instance for chaining.

See Also