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