ColorRect
Inherits: Control < CanvasItem < Entity < Object
Description
Section titled “Description”A control that displays a solid color rectangle.
Displays a rectangle filled with a solid color. If you need to display the border alone, consider using a Panel instead.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| Color | color |
Color(1, 1, 1, 1) |
Property descriptions
Section titled “Property descriptions”color
Color color = Color(1, 1, 1, 1)
The fill color of the rectangle.
