SVGBuilderExtensions.SpreadMethod

SVGBuilderExtensions.SpreadMethod<TBuilder> method

Sets the ‘spreadMethod’ attribute for a gradient element.

public static TBuilder SpreadMethod<TBuilder>(this TBuilder builder, SpreadMethod method)
    where TBuilder : ISVGElementBuilder, IGradientStopElementBuilder
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder to which the attribute is applied.
methodThe spread method for the gradient (pad, reflect, or repeat).

Return Value

The builder instance for chaining.

See Also