Skip to content

File IText.cs

File List > Elements > IText.cs

Go to the documentation of this file


#if FIVEM
using Alignment = CitizenFX.Core.UI.Alignment;
using Font = CitizenFX.Core.UI.Font;
#elif RAGEMP
using RAGE.Game;
#elif SHVDN3 || SHVDNC
using Alignment = GTA.UI.Alignment;
using Font = GTA.UI.Font;
#endif
using System.Drawing;

namespace LemonUI.Elements
{
    public interface IText : IRecalculable, IDrawable
    {
        #region Properties

        PointF Position { get; set; }
        string Text { get; set; }
        Color Color { get; set; }
        Font Font { get; set; }
        float Scale { get; set; }
        bool Shadow { get; set; }
        bool Outline { get; set; }
        Alignment Alignment { get; set; }
        float WordWrap { get; set; }
        float Width { get; }
        int LineCount { get; }
        float LineHeight { get; }

        #endregion
    }
}