SVGBuilderExtensions.To

SVGBuilderExtensions.To<TBuilder> method

Sets the ’to’ attribute, defining the ending value of the animation with a specified length type.

public static TBuilder To<TBuilder>(this TBuilder builder, double value, 
    LengthType type = LengthType.Px)
    where TBuilder : ISVGElementBuilder, IAnimationValueAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe SVG element builder.
valueThe ending value for the animation.
typeThe length type for the ’to’ value.

Return Value

The builder instance for chaining.

See Also