2 writes to StrokeSize
Microsoft.Maui.Graphics (2)
AbstractCanvas.cs (1)
94 _currentState.StrokeSize = size;
CanvasState.cs (1)
43 StrokeSize = prototype.StrokeSize;
14 references to StrokeSize
Microsoft.Maui.Graphics (2)
AbstractCanvas.cs (1)
129 PlatformSetStrokeDashPattern(_currentState.StrokeDashPattern, _currentState.StrokeDashOffset, _currentState.StrokeSize);
CanvasState.cs (1)
43 StrokeSize = prototype.StrokeSize;
Microsoft.Maui.Graphics.Skia (2)
SkiaCanvasState.cs (2)
332 public float ScaledStrokeSize => StrokeSize * _scaleX; 425 StrokePaint.StrokeWidth = StrokeSize * _scaleX;
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (10)
src\Graphics\src\Graphics\Platforms\Windows\PlatformCanvas.cs (10)
180 float strokeWidth = CurrentState.StrokeSize; 550 Draw(s => s.DrawLine(x1, y1, x2, y2, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 568 float strokeWidth = CurrentState.StrokeSize; 601 float strokeWidth = CurrentState.StrokeSize; 604 Draw(s => s.DrawRectangle(_rect, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 609 float strokeWidth = CurrentState.StrokeSize; 622 Draw(s => s.DrawRoundedRectangle(_rect, cornerRadius, cornerRadius, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 631 float strokeWidth = CurrentState.StrokeSize; 655 Draw(s => s.DrawEllipse(px, py, radiusX, radiusY, CurrentState.PlatformStrokeBrush, CurrentState.StrokeSize, CurrentState.PlatformStrokeStyle)); 681 float strokeWidth = CurrentState.StrokeSize;