This property sets the gradient direction for the custom brush when BrushKind is set to LinearGradientBrush.

[Visual Basic] Public Property LinearGradientMode As System.Drawing.Drawing2D.LinearGradientMode
[C#] public System.Drawing.Drawing2D.LinearGradientMode LinearGradientMode {get; set;}

Property Value

Value of type System.Drawing.Drawing2D.LinearGradientMode
   Horizontal (0): Gradation from left to right
   Vertical (1): Gradation from left to right
   ForwardDiagonal (2): Gradation from top left to bottom right
   BackwardDiagonal (2): Gradation from top right to bottom left

Default value is System.Drawing.Drawing2D.LinearGradientMode.Horizontal

Explanation

The LinearGradientMode property sets the gradient direction for the custom brush when BrushKind is set to LinearGradientBrush

For details about the custom brush, please see the CustomBrushEnabled property.

Also See

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation