2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 16:08:05 +08:00
|
|
|
<class name="ColorRect" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2023-04-30 22:26:09 +08:00
|
|
|
A control that displays a solid color rectangle.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-04-30 22:26:09 +08:00
|
|
|
Displays a rectangle filled with a solid [member color]. If you need to display the border alone, consider using a [Panel] instead.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2024-03-25 09:20:59 +08:00
|
|
|
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/2712</link>
|
2017-09-13 04:42:36 +08:00
|
|
|
</tutorials>
|
|
|
|
<members>
|
2024-02-22 01:51:08 +08:00
|
|
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)" keywords="colour">
|
2023-04-30 22:26:09 +08:00
|
|
|
The fill color of the rectangle.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|