LinearGradientBrush

LinearGradientBrush class

Represents linear gradient brush.

public class LinearGradientBrush : Brush

Constructors

Name Description
LinearGradientBrush() Initializes a new instance of the LinearGradientBrush class with default values.
LinearGradientBrush(Color, Color, float) Initializes a new instance of the LinearGradientBrush class.

Properties

Name Description
Angle { get; set; } Gets or sets gradient angle.
EndColor { get; set; } Gets or sets finish gradient color.
StartColor { get; set; } Gets or sets start gradient color.

See Also