Constructor GradientBrush
GradientBrush(GradientStop[], bool)
Initializes a new instance of the Brush class.
protected GradientBrush(GradientStop[] gradientStops, bool immutable)
Parameters
gradientStops
GradientStop[]Array of GradientStop.
immutable
boolWhether this brush is immutable.