SVGBuilderExtensions.From

SVGBuilderExtensions.From<TBuilder> method

Sets the ‘from’ attribute, defining the starting value of the animation with a specified length type.

public static TBuilder From<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 starting value for the animation.
typeThe length type for the ‘from’ value.

Return Value

The builder instance for chaining.

See Also