Class LinearGradientBrush
A brush that draws with a linear gradient.
public sealed class LinearGradientBrush : GradientBrush, INotifyPropertyChanged, ILinearGradientBrush, IGradientBrush, IBrush
- Inheritance
-
LinearGradientBrush
- Implements
- Inherited Members
- Extension Methods
Constructors
LinearGradientBrush()
public LinearGradientBrush()
Fields
EndPointProperty
Defines the EndPoint property.
public static readonly StyledProperty<RelativePoint> EndPointProperty
Field Value
StartPointProperty
Defines the StartPoint property.
public static readonly StyledProperty<RelativePoint> StartPointProperty
Field Value
Properties
EndPoint
Gets or sets the end point for the gradient.
public RelativePoint EndPoint { get; set; }
Property Value
StartPoint
Gets or sets the start point for the gradient.
public RelativePoint StartPoint { get; set; }
Property Value
Methods
ToImmutable()
Creates an immutable clone of the brush.
public override IImmutableBrush ToImmutable()
Returns
- IImmutableBrush
The immutable clone.