Beispiel #1
0
 /// <summary>
 /// Create as brush that will paint a Forward Diagonal Hatch Pattern with
 /// in the specified foreground and background colors
 /// </summary>
 /// <param name="foreColor">Color of the foreground.</param>
 /// <param name="backColor">Color of the background.</param>
 /// <returns>A Brush</returns>
 public static PatternBrush ForwardDiagonal(Rgba32 foreColor, Rgba32 backColor)
 => new PatternBrush(Brushes <Rgba32> .ForwardDiagonal(foreColor, backColor));
Beispiel #2
0
 /// <summary>
 /// Create as brush that will paint a Forward Diagonal Hatch Pattern with
 /// in the specified foreground color and a transparent background
 /// </summary>
 /// <param name="foreColor">Color of the foreground.</param>
 /// <returns>A Brush</returns>
 public static PatternBrush ForwardDiagonal(Rgba32 foreColor)
 => new PatternBrush(Brushes <Rgba32> .ForwardDiagonal(foreColor, Rgba32.Transparent));