SVGBuilderExtensions.By

SVGBuilderExtensions.By<TBuilder> method

Sets the ‘by’ attribute, defining the relative offset value for the animation with a specified length type.

public static TBuilder By<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 relative offset value for the animation.
typeThe length type for the ‘by’ value.

Return Value

The builder instance for chaining.

See Also