1 write to _commands
Microsoft.Maui.Graphics (1)
PictureCanvas.cs (1)
24 _commands = new List<DrawingCommand>();
43 references to _commands
Microsoft.Maui.Graphics (43)
PictureCanvas.cs (43)
27 public IPicture Picture => new StandardPicture(_x, _y, _width, _height, _commands.ToArray()); 31 _commands.Clear(); 40 _commands.Add( 49 set { _commands.Add(canvas => canvas.MiterLimit = value); } 54 set { _commands.Add(canvas => canvas.StrokeColor = value); } 59 set { _commands.Add(canvas => canvas.StrokeLineCap = value); } 64 set { _commands.Add(canvas => canvas.StrokeLineJoin = value); } 69 set { _commands.Add(canvas => canvas.StrokeDashPattern = value); } 74 set { _commands.Add(canvas => canvas.StrokeDashOffset = value); } 79 set { _commands.Add(canvas => canvas.FillColor = value); } 84 set { _commands.Add(canvas => canvas.FontColor = value); } 89 set { _commands.Add(canvas => canvas.Font = value); } 94 set { _commands.Add(canvas => canvas.FontSize = value); } 99 set { _commands.Add(canvas => canvas.Alpha = value); } 112 set { _commands.Add(canvas => canvas.BlendMode = value); } 117 _commands.Add(canvas => canvas.SubtractFromClip(x, y, width, height)); 122 _commands.Add( 130 _commands.Add(canvas => canvas.DrawArc(x, y, width, height, startAngle, endAngle, clockwise, closed)); 135 _commands.Add(canvas => canvas.FillArc(x, y, width, height, startAngle, endAngle, clockwise)); 140 _commands.Add(canvas => canvas.DrawRectangle(x, y, width, height)); 145 _commands.Add(canvas => canvas.FillRectangle(x, y, width, height)); 150 _commands.Add(canvas => canvas.DrawRoundedRectangle(x, y, width, height, cornerRadius)); 155 _commands.Add(canvas => canvas.FillRoundedRectangle(x, y, width, height, cornerRadius)); 160 _commands.Add(canvas => canvas.DrawEllipse(x, y, width, height)); 165 _commands.Add(canvas => canvas.FillEllipse(x, y, width, height)); 170 _commands.Add(canvas => canvas.DrawString(value, x, y, horizontalAlignment)); 176 _commands.Add(canvas => canvas.DrawString(value, x, y, width, height, horizontalAlignment, verticalAlignment, textFlow, lineSpacingAdjustment)); 181 _commands.Add(canvas => canvas.DrawText(value, x, y, width, height)); 186 _commands.Add(canvas => canvas.DrawPath(path)); 191 _commands.Add(canvas => canvas.FillPath(path, windingMode)); 196 _commands.Add(canvas => canvas.ClipPath(path, windingMode)); 205 _commands.Add(canvas => canvas.ClipRectangle(x, y, width, height)); 210 _commands.Add(canvas => canvas.Rotate(degrees, x, y)); 215 _commands.Add(canvas => canvas.Rotate(degrees)); 220 _commands.Add(canvas => canvas.Scale(sx, sy)); 225 _commands.Add(canvas => canvas.Translate(tx, ty)); 230 _commands.Add(canvas => canvas.ConcatenateTransform(transform)); 235 _commands.Add(canvas => canvas.SaveState()); 240 _commands.Add(canvas => canvas.RestoreState()); 251 _commands.Add(canvas => canvas.SetShadow(offset, blur, color)); 256 _commands.Add(canvas => canvas.SetFillPaint(paint, point1, point2)); 261 _commands.Add(canvas => canvas.SetFillPaint(paint, rectangle)); 276 _commands.Add(canvas => canvas.DrawImage(image, x, y, width, height));