ColorRect¶
Inherits: Control < CanvasItem < Node < Object
Rectángulo coloreado.
Descripción¶
Displays a rectangle filled with a solid color. If you need to display the border alone, consider using ReferenceRect instead.
Tutoriales¶
Propiedades¶
|
Descripciones de Propiedades¶
Color color
Default |
|
Setter |
set_frame_color(value) |
Getter |
get_frame_color() |
El color de relleno.
$ColorRect.color = Color(1, 0, 0, 1) # Establece el color de ColorRect a rojo.