10 references to AsPaint
Microsoft.Maui.Controls (5)
BoxView\BoxView.cs (1)
70 Paint? IShapeView.Fill => Color?.AsPaint();
CheckBox\CheckBox.cs (1)
75 public Paint Foreground => Color?.AsPaint();
IndicatorView\IndicatorView.cs (2)
186 Paint IIndicatorView.IndicatorColor => IndicatorColor?.AsPaint(); 187 Paint IIndicatorView.SelectedIndicatorColor => SelectedIndicatorColor?.AsPaint();
RefreshView\RefreshView.cs (1)
141 Paint IRefreshView.RefreshColor => RefreshColor?.AsPaint();
Microsoft.Maui.Controls.Maps (3)
HandlerImpl\Circle.Impl.cs (1)
9 public Paint? Fill => FillColor?.AsPaint();
HandlerImpl\MapElement.Impl.cs (1)
9 Paint? IStroke.Stroke => StrokeColor?.AsPaint();
HandlerImpl\Polygon.Impl.cs (1)
14 public Paint? Fill => FillColor?.AsPaint();
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvas.cs (1)
227 paint = Colors.White.AsPaint();
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (1)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvasState.cs (1)
159 _sourceFillpaint = Colors.White.AsPaint();