SVGBuilderExtensions.Slope

SVGBuilderExtensions.Slope<TBuilder> method

Sets the ‘slope’ attribute for a component transfer function element.

public static TBuilder Slope<TBuilder>(this TBuilder builder, double slope)
    where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
slopeThe slope value for the transfer function.

Return Value

The builder instance for chaining.

See Also