ColorRect
继承: Control < CanvasItem < Node < Object
显示单色矩形的控件。
描述
显示一个用纯色 color 填充的矩形。如果你需要单独显示边框,请考虑改用 Panel。
教程
属性
|
属性说明
Color color = Color(1, 1, 1, 1)
该矩形的填充颜色。
© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7
.
Built with Sphinx using a theme provided by Read the Docs.