SVGBuilderExtensions.StrokeDashoffset

SVGBuilderExtensions.StrokeDashoffset<TBuilder> method

Sets the ‘stroke-dashoffset’ attribute for an SVG element, defining the offset for the start of the stroke dash array.

public static TBuilder StrokeDashoffset<TBuilder>(this TBuilder builder, double value, 
    LengthType type = LengthType.Px)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
valueThe dash offset value.
typeThe unit type for the offset value.

Return Value

The builder instance for chaining.

See Also