Skip to content

LinearGradientBrush class

A brush that paints with a linear gradient between two points.

public sealed class LinearGradientBrush : GradientBrush, IEquatable<LinearGradientBrush>
name description
LinearGradientBrush(…) Creates a linear gradient brush.
EndPoint { get; } Gets the end point of the gradient.
StartPoint { get; } Gets the start point of the gradient.
Equals(…)
override Equals(…)
override GetHashCode()