SVGBuilderExtensions.OnRepeat

SVGBuilderExtensions.OnRepeat<TBuilder> method

Sets the ‘onrepeat’ attribute, defining a script to be run each time the animation repeats.

public static TBuilder OnRepeat<TBuilder>(this TBuilder builder, string value)
    where TBuilder : ISVGElementBuilder, IAnimationEventAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe script to run on each repeat of the animation.

Return Value

The builder instance for chaining.

See Also