SVGBuilderExtensions.Type

SVGBuilderExtensions.Type<TBuilder> method

Sets the ’type’ attribute of a component transfer function element.

public static TBuilder Type<TBuilder>(this TBuilder builder, ComponentTransferType type)
    where TBuilder : ISVGElementBuilder, ITransferFunctionAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
typeThe type of the component transfer function (e.g., linear, gamma).

Return Value

The builder instance for chaining.

See Also