SVGBuilderExtensions.LightingColor

LightingColor<TBuilder>(this TBuilder, Color)

Sets the ’lighting-color’ attribute for an SVG element using a specified color value.

public static TBuilder LightingColor<TBuilder>(this TBuilder builder, Color colorValue)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
colorValueThe color value to set for the lighting effect.

Return Value

The builder instance for chaining.

See Also


LightingColor<TBuilder>(this TBuilder, Action<ColorBuilder>)

Sets the ’lighting-color’ attribute for an SVG element using a custom color configuration.

public static TBuilder LightingColor<TBuilder>(this TBuilder builder, 
    Action<ColorBuilder> configure)
    where TBuilder : IAttributeSetter, IPresentationAttributeSetter
ParameterDescription
TBuilderThe type of the SVG element builder.
builderThe builder instance.
configureA delegate to configure the color.

Return Value

The builder instance for chaining.

See Also