2 instantiations of GradientStop
Microsoft.Maui.Controls (2)
Brush\Brush.cs (1)
28
gradientStops.Insert(i, new
GradientStop
(gs.Color, gs.Offset));
Brush\BrushTypeConverter.cs (1)
256
var gradientStop = new
GradientStop
15 references to GradientStop
Microsoft.Maui.Controls (15)
Brush\Brush.cs (1)
67
var
gs = gradientStopCollection[i];
Brush\BrushTypeConverter.cs (1)
256
var
gradientStop = new GradientStop
GradientBrush.cs (5)
44
foreach (
var
gradientStop in GradientStops)
54
foreach (
var
oldStop in oldCollection)
66
foreach (
var
newStop in newCollection)
79
if (!(oldItem is
GradientStop
oldStop))
91
if (!(newItem is
GradientStop
newStop))
GradientStop.cs (3)
11
nameof(Color), typeof(Color), typeof(
GradientStop
), null);
22
nameof(Offset), typeof(float), typeof(
GradientStop
), 0f);
44
if (!(obj is
GradientStop
dest))
GradientStopCollection.cs (1)
6
public sealed class GradientStopCollection : ObservableCollection<
GradientStop
>
Platform\iOS\Extensions\BrushExtensions.cs (4)
206
static NSNumber[] GetCAGradientLayerLocations(List<
GradientStop
> gradientStops)
221
foreach (
var
gradientStop in gradientStops)
238
static CGColor[] GetCAGradientLayerColors(List<
GradientStop
> gradientStops)
246
foreach (
var
gradientStop in gradientStops)