Reputation: 2902
I am trying to make some rotary knob with WPF and C#, .NET3.5; So right now what I am having is:
but instead, I really want to have something like these:
Anyone has any idea how I can make it look nicer? I am writing the WPF code from scratch. Thanks a lot.
Upvotes: 2
Views: 2441
Reputation: 1891
You can create such an effect by finding a nice pictue of a knob, and then apply a rotatetransform on it.
If the picture contains the scale, you will need to edit that out to an other image, which can be under the knob picture.
Upvotes: 0
Reputation: 1140
You are using SolidColorBrush right now. Play with RadialGradientBrush instead to achieve the look.
Upvotes: 1