mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Add Size Vector to IDalamudTextureWrap
This commit is contained in:
parent
c767971a36
commit
6295f047ae
1 changed files with 8 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
||||||
using ImGuiScene;
|
using System.Numerics;
|
||||||
|
|
||||||
|
using ImGuiScene;
|
||||||
|
|
||||||
namespace Dalamud.Interface.Internal;
|
namespace Dalamud.Interface.Internal;
|
||||||
|
|
||||||
|
|
@ -22,6 +24,11 @@ public interface IDalamudTextureWrap : IDisposable
|
||||||
/// Gets the height of the texture.
|
/// Gets the height of the texture.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
int Height { get; }
|
int Height { get; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets the size vector of the texture using Width, Height.
|
||||||
|
/// </summary>
|
||||||
|
Vector2 Size => new(this.Width, this.Height);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue