Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
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.