1 write to _canvas
Microsoft.Maui.Graphics (1)
ScalingCanvas.cs (1)
20 _canvas = wrapped;
49 references to _canvas
Microsoft.Maui.Graphics (49)
ScalingCanvas.cs (49)
21 _blurrableCanvas = _canvas as IBlurrableCanvas; 26 get => _canvas.DisplayScale; 27 set => _canvas.DisplayScale = value; 30 public object Wrapped => _canvas; 32 public ICanvas ParentCanvas => _canvas; 36 set => _canvas.StrokeSize = value; 41 set => _canvas.MiterLimit = value; 46 set => _canvas.StrokeColor = value; 51 set => _canvas.StrokeLineCap = value; 56 set => _canvas.Alpha = value; 61 set => _canvas.StrokeLineJoin = value; 66 set => _canvas.StrokeDashPattern = value; 71 set => _canvas.StrokeDashOffset = value; 76 set => _canvas.FillColor = value; 81 set => _canvas.FontColor = value; 86 set => _canvas.Font = value; 91 set => _canvas.FontSize = value; 96 set => _canvas.BlendMode = value; 101 set => _canvas.Antialias = value; 106 _canvas.SubtractFromClip(x1 * _scaleX, y1 * _scaleY, x2 * _scaleX, y2 * _scaleY); 111 _canvas.DrawLine(x1 * _scaleX, y1 * _scaleY, x2 * _scaleX, y2 * _scaleY); 116 _canvas.DrawArc(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, startAngle, endAngle, clockwise, closed); 121 _canvas.FillArc(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, startAngle, endAngle, clockwise); 126 _canvas.DrawEllipse(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 131 _canvas.DrawImage(image, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 136 _canvas.DrawRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 141 _canvas.DrawRoundedRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, cornerRadius * _scaleX); 146 _canvas.DrawString(value, x * _scaleX, y * _scaleY, horizontalAlignment); 152 _canvas.DrawString(value, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, horizontalAlignment, verticalAlignment, textFlow); 157 _canvas.DrawText(value, x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 162 _canvas.FillEllipse(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 167 _canvas.FillRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 172 _canvas.FillRoundedRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, cornerRadius * _scaleX); 178 _canvas.DrawPath(scaledPath); 184 _canvas.FillPath(scaledPath, windingMode); 190 _canvas.ClipPath(scaledPath, windingMode); 195 _canvas.ClipRectangle(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY); 200 _canvas.Rotate(degrees, x * _scaleX, y * _scaleY); 205 _canvas.SetFillPaint(paint, new RectF(rectangle.X * _scaleX, rectangle.Y * _scaleY, rectangle.Width * _scaleX, rectangle.Height * _scaleY)); 210 _canvas.Rotate(degrees); 217 _canvas.Scale(sx, sy); 222 _canvas.Translate(tx, ty); 230 _canvas.ConcatenateTransform(transform); 235 _canvas.SaveState(); 242 _canvas.ResetState(); 251 var restored = _canvas.RestoreState(); 273 _canvas.SetShadow(offset, blur, color); 282 => _canvas.GetStringSize(value, font, fontSize); 285 => _canvas.GetStringSize(value, font, fontSize, horizontalAlignment, verticalAlignment);