You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Cross-reference ColorRect and ReferenceRect in the class reference
They use the same underlying `CanvasItem.draw_rect()` API.
(cherry picked from commit 803b046b38)
This commit is contained in:
committed by
Rémi Verschelde
parent
4e720c064e
commit
bdfa43ea63
@@ -4,7 +4,7 @@
|
||||
Colored rectangle.
|
||||
</brief_description>
|
||||
<description>
|
||||
Displays a colored rectangle.
|
||||
Displays a rectangle filled with a solid [member color]. If you need to display the border alone, consider using [ReferenceRect] instead.
|
||||
</description>
|
||||
<tutorials>
|
||||
<link title="2D Dodge The Creeps Demo">https://godotengine.org/asset-library/asset/515</link>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Reference frame for GUI.
|
||||
</brief_description>
|
||||
<description>
|
||||
A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color].
|
||||
A rectangle box that displays only a [member border_color] border color around its rectangle. [ReferenceRect] has no fill [Color]. If you need to display a rectangle filled with a solid color, consider using [ColorRect] instead.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
|
||||
Reference in New Issue
Block a user