ImmutableGradientBrush.

ImmutableGradientBrush(IReadOnlyList<ImmutableGradientStop>, double, GradientSpreadMethod) Constructor

Summary

Initializes a new instance of the ImmutableGradientBrush class.

Syntax

protected ImmutableGradientBrush(IReadOnlyList<ImmutableGradientStop> gradientStops, double opacity, GradientSpreadMethod spreadMethod)

Parameters

Name Type Description
gradientStops IReadOnlyList<ImmutableGradientStop> The gradient stops.
opacity double The opacity of the brush.
spreadMethod GradientSpreadMethod The spread method.

Return Value

Type Description
void