diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-02 23:38:54 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-02-03 01:58:16 +0100 |
| commit | 921126b99a9e1ab00befb40d8f7f0c99728af698 (patch) | |
| tree | bc2693bcd33739ace6f4865d560c3705cea478d1 /src/GraphicObjects/GraduatedSlider.cs | |
| parent | 2b087282dd73152d21140ea7312a90e046c84f61 (diff) | |
Gradient, Bitmap and Svg Filling
Diffstat (limited to 'src/GraphicObjects/GraduatedSlider.cs')
| -rw-r--r-- | src/GraphicObjects/GraduatedSlider.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GraphicObjects/GraduatedSlider.cs b/src/GraphicObjects/GraduatedSlider.cs index 3d916a8c..b7a181e0 100644 --- a/src/GraphicObjects/GraduatedSlider.cs +++ b/src/GraphicObjects/GraduatedSlider.cs @@ -25,7 +25,7 @@ namespace Crow protected override void DrawGraduations(Context gr, PointD pStart, PointD pEnd) { Rectangle r = ClientRectangle; - gr.SetSourceColor(Foreground); + Foreground.SetAsSource (gr); gr.LineWidth = 2; gr.MoveTo(pStart); |