0.2.0-dev Download ZIP
17 lines ·783 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="ColorRect" inherits="Control" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | A control that displays a solid color rectangle. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | Displays a rectangle filled with a solid [member color]. If you need to display the border alone, consider using a [Panel] instead. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | <link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/2712</link> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)" keywords="colour"> |
| 14 | The fill color of the rectangle. |
| 15 | </member> |
| 16 | </members> |
| 17 | </class> |