mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #1422 from MidoriKami/IDalamudTextureWrap_SizeVector
This commit is contained in:
commit
1d0b61e32b
1 changed files with 8 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue