Questions tagged [hatchstyle]

HatchStyle is a built-in enumeration, available for Windows desktop apps.

HatchStyle is a built-in enumeration, available for Windows desktop apps. It defines the pattern used by HatchBrush brush. Each pattern consists of a solid background color and lines drawn over the background color. There are many variations of the patterns in this enumeration - generally, the style, direction and intensity of the lines can vary in the different patterns.

17 questions
0
votes
1 answer

C#-HatchBrush-"large" checker board hatch style not large enough

I'm trying to draw something like the transparent-indicating background when you use Photoshop or other image processing software. Like I said in the title, I'm using HatchBrush, and the large checker board style is not large enough for me. Beyond…
Zuoanqh
  • 942
  • 4
  • 10
  • 26
0
votes
1 answer

Set a boundary for the VisualBrush in WPF

There is a blue rectangle that is filled with a custom VisualBrush (left image). A line is passing through the rectangle. How can I trim the brush to achieve the shape in right image.
Vahid
  • 5,144
  • 13
  • 70
  • 146
1
2