SVGBuilderExtensions.Dur

Dur(this TBuilder, TimeSpan)

Sets the ‘dur’ attribute, specifying the duration of the animation.

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

Return Value

The builder instance for chaining.

See Also


Dur(this TBuilder, Dur)

Sets the ‘dur’ attribute, specifying the predefined duration type of the animation.

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

Return Value

The builder instance for chaining.

See Also