8 instantiations of PaintGradientStop
Microsoft.Maui.Controls (1)
Brush\Brush.cs (1)
68
gradientStops[i] = new
GraphicsGradientStop
(gs.Offset, gs.Color);
Microsoft.Maui.Graphics (7)
GradientPaint.cs (7)
9
new
PaintGradientStop
(0, Colors.White),
10
new
PaintGradientStop
(1, Colors.White)
24
_gradientStops[i] = new
PaintGradientStop
(source.GradientStops[i]);
36
_gradientStops = new[] { new
PaintGradientStop
(0, Colors.White), new
PaintGradientStop
(1, Colors.White) };
132
_gradientStops[p] = new
PaintGradientStop
(offsets[p], colors[p]);
149
newStops[oldStops.Length] = new
PaintGradientStop
(offset, color);
24 references to PaintGradientStop
Microsoft.Maui (4)
Graphics\PaintExtensions.iOS.cs (4)
137
static NSNumber[] GetCAGradientLayerLocations(List<
PaintGradientStop
> gradientStops)
152
foreach (
var
gradientStop in gradientStops)
169
static CGColor[] GetCAGradientLayerColors(List<
PaintGradientStop
> gradientStops)
177
foreach (
var
gradientStop in gradientStops)
Microsoft.Maui.Controls (4)
Brush\Brush.cs (4)
3
using GraphicsGradientStop = Microsoft.Maui.Graphics.
PaintGradientStop
;
27
var
gs = gradientStopCollection[i];
63
GraphicsGradientStop
[] gradientStops = new
GraphicsGradientStop
[gradientStopCollection.Count];
Microsoft.Maui.Graphics (16)
GradientPaint.cs (9)
7
PaintGradientStop
[] _gradientStops =
21
_gradientStops = new
PaintGradientStop
[source.GradientStops.Length];
28
public
PaintGradientStop
[] GradientStops
104
foreach (
var
stop in GradientStops)
116
public
PaintGradientStop
[] GetSortedStops()
118
var vStops = new
PaintGradientStop
[_gradientStops.Length];
128
_gradientStops = new
PaintGradientStop
[stopCount];
144
var newStops = new
PaintGradientStop
[oldStops.Length + 1];
162
var newStops = new
PaintGradientStop
[oldStops.Length - 1];
LinearGradientPaint.cs (2)
16
public LinearGradientPaint(
PaintGradientStop
[] gradientStops)
27
public LinearGradientPaint(
PaintGradientStop
[] gradientStops, Point startPoint, Point endPoint)
PaintGradientStop.cs (3)
5
public class PaintGradientStop : IComparable<
PaintGradientStop
>
16
public PaintGradientStop(
PaintGradientStop
source)
34
public int CompareTo(
PaintGradientStop
obj)
RadialGradientPaint.cs (2)
16
public RadialGradientPaint(
PaintGradientStop
[] gradientStops)
27
public RadialGradientPaint(
PaintGradientStop
[] gradientStops, Point center, double radius)