SVGBuilderExtensions.RepeatDur

RepeatDur<TBuilder>(this TBuilder, TimeSpan)

Sets the ‘repeatDur’ attribute, specifying the total duration for which the animation should repeat.

public static TBuilder RepeatDur<TBuilder>(this TBuilder builder, TimeSpan duration)
    where TBuilder : ISVGElementBuilder, IAnimationTimingAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
durationThe total duration for repeating the animation.

Return Value

The builder instance for chaining.

See Also


RepeatDur<TBuilder>(this TBuilder, IndefiniteRepeat)

Sets the ‘repeatDur’ attribute, specifying an indefinite total duration for the animation using a predefined enum.

public static TBuilder RepeatDur<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 total duration for repeating the animation.

Return Value

The builder instance for chaining.

See Also