Pattern Brushes in WPF

Posted by daub815 on Stack Overflow See other posts from Stack Overflow or by daub815
Published on 2010-12-28T01:11:34Z Indexed on 2010/12/28 1:54 UTC
Read the original article Hit count: 197

Filed under:
|

I am struggling with creating various brushes to fill in various shapes or as a background. Here are some patterns I am struggling with creating:

  1. <<<<>>>>
  2. <|<|<|<|>|>|>|>
  3. ////////
  4. \\\\
  5. ||||||||

I've been able to create the \\\, //////, and |||||| with a linear gradient, but the first two are causing me issues. BTW, the second one is a triangle.

Any suggestions or help would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about xaml