Rect
Draws a rectangle.
Inherits: canvas.Shape
Properties
Properties
border_radiusclass-attributeinstance-attribute
border_radius: BorderRadiusValue = field(
default_factory=lambda: BorderRadius.all(0)
)The border radius of this rectangle.
paintclass-attributeinstance-attribute
A style to draw this rectangle with.