SVGBuilderExtensions.Max

Max<TBuilder>(this TBuilder, TimeSpan)

Sets the ‘max’ attribute, specifying the maximum duration of the animation.

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

Return Value

The builder instance for chaining.

See Also


Max<TBuilder>(this TBuilder, Media)

Sets the ‘max’ attribute, specifying the predefined maximum duration condition for the animation.

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

Return Value

The builder instance for chaining.

See Also