3 implementations of DrawRectangle
Microsoft.Maui.Graphics (3)
AbstractCanvas.cs (1)
150
public void
DrawRectangle
(float x, float y, float width, float height)
PictureCanvas.cs (1)
138
public void
DrawRectangle
(float x, float y, float width, float height)
ScalingCanvas.cs (1)
134
public void
DrawRectangle
(float x, float y, float width, float height)
4 references to DrawRectangle
Microsoft.Maui.Graphics (4)
CanvasExtensions.cs (2)
12
target.
DrawRectangle
((float)rect.X, (float)rect.Y, (float)rect.Width, (float)rect.Height);
17
target.
DrawRectangle
(rect.X, rect.Y, rect.Width, rect.Height);
PictureCanvas.cs (1)
140
_commands.Add(canvas => canvas.
DrawRectangle
(x, y, width, height));
ScalingCanvas.cs (1)
136
_canvas.
DrawRectangle
(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY);