WPF-to stroke arc with two different brushes
- by user1914725
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?