1 write to FontPaint
Microsoft.Maui.Graphics.Skia (1)
SkiaCanvasStateService.cs (1)
20
FontPaint
= _defaultFontPaint.CreateCopy(),
14 references to FontPaint
Microsoft.Maui.Graphics.Skia (14)
SkiaCanvas.cs (8)
627
_canvas.DrawText(value, x, y, CurrentState.
FontPaint
);
631
var paint = CurrentState.
FontPaint
;
634
_canvas.DrawText(value, x, y, CurrentState.
FontPaint
);
638
var paint = CurrentState.
FontPaint
;
641
_canvas.DrawText(value, x, y, CurrentState.
FontPaint
);
663
FontSize = CurrentState.
FontPaint
.TextSize,
677
_canvas.DrawText(text, point.X, point.Y, CurrentState.
FontPaint
);
680
using (var textLayout = new SkiaTextLayout(value, rect, attributes, callback, textFlow, CurrentState.
FontPaint
))
SkiaCanvasState.cs (6)
41
_fontPaint = prototype.
FontPaint
.CreateCopy();
85
FontPaint
.Color = _fontColor.AsSKColor();
87
FontPaint
.Color = SKColors.Black;
203
FontPaint
.TextSize = _fontSize * _scaleX;
369
FontPaint
.ImageFilter = _shadowFilter;
426
FontPaint
.TextSize = _fontSize * _scaleX;