SVGBuilderExtensions.RepeatCount

RepeatCount<TBuilder>(this TBuilder, int)

Sets the ‘repeatCount’ attribute, defining how many times the animation should repeat.

public static TBuilder RepeatCount<TBuilder>(this TBuilder builder, int value)
    where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe number of times the animation should repeat.

Return Value

The builder instance for chaining.

See Also


RepeatCount<TBuilder>(this TBuilder, IndefiniteRepeat)

Sets the ‘repeatCount’ attribute, defining an indefinite repeat count for the animation using a predefined enum.

public static TBuilder RepeatCount<TBuilder>(this TBuilder builder, IndefiniteRepeat value)
    where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe predefined indefinite repeat count for the animation.

Return Value

The builder instance for chaining.

See Also