SVGBuilderExtensions.StrokeOpacity

SVGBuilderExtensions.StrokeOpacity<TBuilder> method

Sets the ‘stroke-opacity’ attribute for an SVG element, defining the opacity of the stroke.

public static TBuilder StrokeOpacity<TBuilder>(this TBuilder builder, double opacity)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
opacityThe opacity value.

Return Value

The builder instance for chaining.

See Also