Rectangle
A Rectangle is a control for drawing rectangles and squares using a width and height.
<Rectangle
WidthRequest="100"
HeightRequest="100"
Fill="Green"
Stroke="Red"
StrokeThickness="5" />

Fill is the color of the shape.
Fill="Green"
Stroke is the color of the shape outline.
Stroke="Red"
StrokeThickness is the width of the shape outline.
StrokeThickness="5"
Download