2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2023-07-06 08:08:05 +00:00
|
|
|
<class name="ColorRect" inherits="Control" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
2023-04-30 14:26:09 +00:00
|
|
|
A control that displays a solid color rectangle.
|
2017-09-12 20:42:36 +00:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2023-04-30 14:26:09 +00: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-12 20:42:36 +00:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
2024-03-25 01:20:59 +00:00
|
|
|
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/2712</link>
|
2017-09-12 20:42:36 +00:00
|
|
|
</tutorials>
|
|
|
|
<members>
|
2024-02-21 17:51:08 +00:00
|
|
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color(1, 1, 1, 1)" keywords="colour">
|
2023-04-30 14:26:09 +00:00
|
|
|
The fill color of the rectangle.
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|