WPF-to stroke arc with two different brushes

Posted by user1914725 on Stack Overflow See other posts from Stack Overflow or by user1914725
Published on 2012-12-19T05:00:51Z Indexed on 2012/12/19 5:03 UTC
Read the original article Hit count: 121

Filed under:
|

i am new to geometric drawing in wpf.

i have a volmeter arc that needs to have alert value. The section of the arc beyond that alert value has to be done with a different color than the rest of the arc. hence the arc is brushed with 2 different colors.

a path has one brush at a time.hence how i apply two different pens to the same arc? the alert value is obtained with a lot of pain by doing calculations like gemetry.getpointatfraction.it won't easy to apply triggers

any suggestions /approach?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET