Merge pull request #1422 from MidoriKami/IDalamudTextureWrap_SizeVector

This commit is contained in:
goat 2023-09-23 22:18:25 +02:00 committed by GitHub
commit 1d0b61e32b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
using ImGuiScene;
using System.Numerics;
using ImGuiScene;
namespace Dalamud.Interface.Internal;
@ -22,6 +24,11 @@ public interface IDalamudTextureWrap : IDisposable
/// Gets the height of the texture.
/// </summary>
int Height { get; }
/// <summary>
/// Gets the size vector of the texture using Width, Height.
/// </summary>
Vector2 Size => new(this.Width, this.Height);
}
/// <summary>