Rect Examples# See these. Rect # Bases: Shape Draws a rectangle. border_radius # border_radius: BorderRadiusValue = field( default_factory=lambda: all(0) ) The border radius of this rectangle. height # height: Number = 0 The height of this rectangle. paint # paint: Paint = field(default_factory=lambda: Paint()) A style to draw this rectangle with. width # width: Number = 0 The width of this rectangle. x # x: Number The x-axis coordinate of this rectangle's top left point. y # y: Number The y-axis coordinate of this rectangle's top left point.