3 implementations of DrawRoundedRectangle
Microsoft.Maui.Graphics (3)
AbstractCanvas.cs (1)
158
public void
DrawRoundedRectangle
(float x, float y, float width, float height, float cornerRadius)
PictureCanvas.cs (1)
148
public void
DrawRoundedRectangle
(float x, float y, float width, float height, float cornerRadius)
ScalingCanvas.cs (1)
139
public void
DrawRoundedRectangle
(float x, float y, float width, float height, float cornerRadius)
4 references to DrawRoundedRectangle
Microsoft.Maui.Graphics (4)
CanvasExtensions.cs (2)
32
target.
DrawRoundedRectangle
((float)rect.X, (float)rect.Y, (float)rect.Width, (float)rect.Height, (float)cornerRadius);
37
target.
DrawRoundedRectangle
(rect.X, rect.Y, rect.Width, rect.Height, cornerRadius);
PictureCanvas.cs (1)
150
_commands.Add(canvas => canvas.
DrawRoundedRectangle
(x, y, width, height, cornerRadius));
ScalingCanvas.cs (1)
141
_canvas.
DrawRoundedRectangle
(x * _scaleX, y * _scaleY, width * _scaleX, height * _scaleY, cornerRadius * _scaleX);