10 references to GetGradientBrush
System.Windows.Forms.DataVisualization (10)
Common\ChartTypes\AreaChart.cs (1)
612
using (Brush areaGradientBrush = graph.
GetGradientBrush
(areaPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
Common\ChartTypes\PieChart.cs (2)
3325
brush = graph.
GetGradientBrush
(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
3837
brush = graph.
GetGradientBrush
(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
Common\ChartTypes\RangeChart.cs (1)
283
using (Brush areaGradientBrush = graph.
GetGradientBrush
(gradientPath.GetBounds(), this._series.Color, this._series.BackSecondaryColor, this._series.BackGradientStyle))
Common\ChartTypes\StackedAreaChart.cs (1)
778
using (Brush areaBrush = graph.
GetGradientBrush
(gradientPath.GetBounds(), this.Series.Color, this.Series.BackSecondaryColor, this.Series.BackGradientStyle))
Common\General\ChartGraphics.cs (5)
3501
brush =
GetGradientBrush
( rect, backColor, backSecondaryColor, backGradientStyle );
4175
brush =
GetGradientBrush
( rect, backColor, backSecondaryColor, backGradientStyle );
4475
brush =
GetGradientBrush
(
4629
brush =
GetGradientBrush
( rect, backColor, backSecondaryColor, backGradientStyle );
5035
fillBrush =
GetGradientBrush
(path.GetBounds(), backColor, backSecondaryColor, backGradientStyle);