diff options
Diffstat (limited to 'modules/mono')
| -rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Compat.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Compat.cs b/modules/mono/glue/GodotSharp/GodotSharp/Compat.cs index 48b47b166a..dd0affdb75 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Compat.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Compat.cs @@ -83,6 +83,13 @@ partial class RenderingDevice partial class RichTextLabel { + /// <inheritdoc cref="AddImage(Texture2D, int, int, Nullable{Color}, InlineAlignment, Nullable{Rect2}, Variant, bool, string, bool)"/> + [EditorBrowsable(EditorBrowsableState.Never)] + public void AddImage(Texture2D image, int width, int height, Nullable<Color> color, InlineAlignment inlineAlign, Nullable<Rect2> region) + { + AddImage(image, width, height, color, inlineAlign, region, key: default, pad: false, tooltip: "", sizeInPercent: false); + } + /// <inheritdoc cref="PushList(int, ListType, bool, string)"/> [EditorBrowsable(EditorBrowsableState.Never)] public void PushList(int level, ListType type, bool capitalize) |
